Skip to content
  • Sebastian Dröge's avatar
    gst/subparse/: Add support for UTF16/UTF32 subtitles as long as the first... · e7b42af8
    Sebastian Dröge authored
    gst/subparse/: Add support for UTF16/UTF32 subtitles as long as the first bytes of the first buffer contain the BOM. ...
    
    Original commit message from CVS:
    * 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.
    e7b42af8
To find the state of this project's repository at the time of any of these versions, check out the tags.