Bug 16144

Summary: confusion between audio/x-matroska and video/x-matroska
Product: shared-mime-info Reporter: Sebastian Dröge (slomo) <slomo>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: matroska-mime.patch
matroska-mime.patch

Description Sebastian Dröge (slomo) 2008-05-28 22:46:34 UTC
Created attachment 16796 [details] [review]
matroska-mime.patch

Quoting http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483376:

> Currently, audio/x-matroska and video/x-matroska have the same magic
> rules, therefore the MIME type of a given file is determined to be
> always audio/x-matroska, even if it is a video file. This leads to
> spurious warnings in nautilus.
>
> The solution is to make both types subclasses of application/x-matroska.
> Patch attached.

Patch is by Josselin Mouette <joss@debian.org>
Comment 1 Sebastian Dröge (slomo) 2008-05-28 23:17:28 UTC
Created attachment 16797 [details] [review]
matroska-mime.patch
Comment 2 Bastien Nocera 2008-06-11 07:58:31 UTC
* freedesktop.org.xml.in: Patch from Josselin Mouette
<joss@debian.org> to avoid problems when detecting Matroska
files by data, create a new application/x-matroska mime-type,
and make video/x-matroska and audio/x-matroska subclasses of it
(Closes: #16144)

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.