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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 31 16:43:54 PDT 2011


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

--- Comment #5 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2011-08-31 23:43:52 UTC ---
Created an attachment (id=195358)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=195358)
SRT file being rejected

I found that there was a tiny difference between my SRT and the one on
Wikipedia, and this is actually causing the typefinder to reject the file.
You'll find that I omited a 0 in the seconds element. I was validating my file
with mplayer which tolerate this tiny error. If our parser support it, I
suggest making that extra 0 optional in the regex.

1
00:00:5,440 --> 00:00:10,375

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