[gstreamer-bugs] [Bug 552237] UTF-16 srt confuses gstreamer, misdetected as mp3

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Sep 14 10:40:02 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=552237

  GStreamer | gst-plugins-base | Ver: 0.10.x

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
             Status|UNCONFIRMED                 |NEW
          Component|don't know                  |gst-plugins-base
     Ever Confirmed|0                           |1
            Summary|Bugged srt file confuses    |UTF-16 srt confuses
                   |gstreamer                   |gstreamer, misdetected as
                   |                            |mp3




------- Comment #2 from Tim-Philipp Müller  2008-09-14 17:40 UTC -------
The file seems to be encoded in UTF-16(LE) with a BOM at the start. Three
problems:

 - subparse doesn't handle files that are not UTF-8/ASCII yet
   (there's a bug for that somewhere I think) (or recognise
   them for that matter)

 - typefinding thinks it could be an mp3 because of the BOM marker

 - mp3parse doesn't error out after getting an EOS without having
   seen any frames. Guess it should post a STREAM WRONG_TYPE error
   or something like that in this case.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=552237.




More information about the Gstreamer-bugs mailing list