Skip to content
  • Tim-Philipp Müller's avatar
    gst/matroska/: Try to fix up broken matroska files containing subtitle streams... · 45c10ca9
    Tim-Philipp Müller authored
    gst/matroska/: Try to fix up broken matroska files containing subtitle streams with non-UTF8 character encodings (cou...
    
    Original commit message from CVS:
    * gst/matroska/matroska-demux.c:
    (gst_matroska_demux_check_subtitle_buffer),
    (gst_matroska_demux_parse_blockgroup_or_simpleblock),
    (gst_matroska_demux_subtitle_caps):
    * gst/matroska/matroska-ids.c:
    (gst_matroska_track_init_subtitle_context):
    * gst/matroska/matroska-ids.h:
    Try to fix up broken matroska files containing subtitle
    streams with non-UTF8 character encodings (courtesy of
    mkvmerge) using either the encoding specified in the
    GST_SUBTITLE_ENCODING environment variable or the
    current locale's character set if it is non-UTF8.
    Fixes #337076.
    45c10ca9