[Bug 657872] XDG mime type finder identify SRT as application/x-subrip

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 31 15:35:30 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=657872
  GStreamer | gst-plugins-base | git

--- Comment #2 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2011-08-31 22:35:22 UTC ---
Well you just said it, it needs fix. Now, the first thing I see is that the so
called type finder that should override XDG is MARGINAL, iirc that means it
will be ignored. So as it's not used XDG finder is the only one to give a
reply. Then in the subparse element (the one that contains the finder), there
is a regex that does not seems to work matching the type. I'm using simple file
found on wikipedia, http://en.wikipedia.org/wiki/SubRip.

Questions:
Why do we have an XDG type finder if we make sure that our custom type are not
valid mime type from XDG when such a type exist ?

Rational:
Having XDG makes video player like Totem report that a missing plugin for mime
type application/x-subrip does not exist, but in fact GStreamer have defined
this as application/x-subtitle, so neither user or CODEC finder can ever find a
suitable plugin.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list