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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 31 16:13:58 PDT 2011


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

--- Comment #4 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2011-08-31 23:13:56 UTC ---
(In reply to comment #3)
> Yes, it's a bug. It needs fixing. Fix the srt typefinder.

I'm currently digging, if I don't find the bug, I'll report.

But I'm trying to make sure people realize how badly XDG can affect user
interaction. Fixing this will work for this case, but this is a situation that
will come back for other type until all the media type that exist in the world
are supported by gst-plugins-bad (simply thinking what about until then).

And I think there exist solutions to that, as an example, when we speak about
file-type we could respect the mime-type instead of making sure to use
something different. That may hide finder bugs, but won't mess with users. Or,
find a way to make sure that if the result if from XDG (I mean a mime database,
XDG being one of) we make sure that it's kept internal, which avoid sending
wrong information to the plugin finder, or worst to the user.

(btw, not sending traces because I know it's easy to reproduce for devs
interested to help, you need a linux system with GIO, mime-info and a SRT file
I mentioned before)

-- 
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