[gstreamer-bugs] [Bug 456788] [subparse] can't handle UTF-16 charset encoded subtitle.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 13 01:58:22 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=456788

  GStreamer | gst-plugins-base | Ver: HEAD CVS

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|slomo at circular-chaos.org    |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.22




------- Comment #4 from Sebastian Dröge  2008-10-13 08:58 UTC -------
2008-10-13  Sebastian Dröge  <sebastian.droege at collabora.co.uk>

        * gst/subparse/Makefile.am:
        * gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
        (gst_sub_parse_class_init), (gst_sub_parse_init),
        (gst_convert_to_utf8), (detect_encoding), (convert_encoding),
        (get_next_line), (gst_sub_parse_data_format_autodetect),
        (feed_textbuf), (handle_buffer), (gst_sub_parse_change_state),
        (gst_subparse_type_find):
        * gst/subparse/gstsubparse.h:
        Add support for UTF16/UTF32 subtitles as long as the first bytes of
        the first buffer contain the BOM. This also adds support for other
        encodings that allow NUL bytes via the encoding property.
        Fixes bugs #552237 and #456788.


-- 
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=456788.




More information about the Gstreamer-bugs mailing list