Bug 24690 - Support for MPEG Transport Stream (video/MP2T)
Summary: Support for MPEG Transport Stream (video/MP2T)
Status: RESOLVED DUPLICATE of bug 14276
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 04:21 UTC by Christian Kellner
Modified: 2010-01-29 12:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (804 bytes, patch)
2010-01-29 10:41 UTC, Daniel Leidert
Details | Splinter Review

Description Christian Kellner 2009-10-23 04:21:14 UTC
Support for the "MPEG Transport Stream" seem to be missing from the shared mime info. We got an upstream bug report filed against GIO that .ts files are incorrectly detected as "application/x-linguist" not "video/MP2T" ("dirac encoded video file"). Upstream bug report is https://bugzilla.gnome.org/show_bug.cgi?id=599347. More information on MPEG Transport Stream e.g. on http://en.wikipedia.org/wiki/MPEG_transport_stream
Comment 1 Daniel Leidert 2010-01-29 10:41:04 UTC
Created attachment 32902 [details] [review]
proposed patch

Patch attached. This is based on RFC 3555. It does not use the mask and big32 values as found in files magic database. This failed at least with the testcase provided in the bug-report mentioned in the OP. I cannot provide any test cases.
Comment 2 Daniel Leidert 2010-01-29 12:58:18 UTC
Duplicate of #14276.

*** This bug has been marked as a duplicate of bug 14276 ***


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.