Bug 12478 - Add SubViewer 2.0 mime-type
Summary: Add SubViewer 2.0 mime-type
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 16:24 UTC by Osmo Salomaa
Modified: 2008-02-21 09:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Proposed patch (827 bytes, patch)
2007-09-18 16:24 UTC, Osmo Salomaa
Details | Splinter Review
Proposed patch (821 bytes, patch)
2007-11-10 09:31 UTC, Osmo Salomaa
Details | Splinter Review

Description Osmo Salomaa 2007-09-18 16:24:21 UTC
Please add an entry for SubViewer 2.0 subtitle file format.
http://wiki.videolan.org/SubViewer
Comment 1 Osmo Salomaa 2007-09-18 16:24:44 UTC
Created attachment 11625 [details] [review]
Proposed patch
Comment 2 Osmo Salomaa 2007-11-10 09:31:48 UTC
Created attachment 12438 [details] [review]
Proposed patch

New patch with mimetype changed to application/x-subviewer since the glob and magic match both SubViewer 1.0 and 2.0. As far as I know, the 2.0 version is the commonly used one, but you can't tell the difference without a large magic offset that goes past the information header.
Comment 3 Bastien Nocera 2008-02-21 09:26:37 UTC
I used text/x-subviewer instead.

* freedesktop.org.xml.in: Patch from Osmo Salomaa <otsaloma@cc.hut.fi>
to add the SubViewer subtitle mime-type
* tests/subtitle-subviewer.sub:
* tests/list: Add test case (Closes: #12478)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.