[Bug 752421] New: [PATCH] Matroska SRT subtitles with markup are displayed with a trailing asterisk

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 15 06:16:07 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752421

            Bug ID: 752421
           Summary: [PATCH] Matroska SRT subtitles with markup are
                    displayed with a trailing asterisk
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dchristidis at mykolab.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 307477
  --> https://bugzilla.gnome.org/attachment.cgi?id=307477&action=edit
testcase (must be merged into a Matroska file)

The issue can be seen with the attached example, when merged into a Matroska
file and played with totem or gst-launch.

The asterisk is added by the pango element because a call to g_utf8_validate()
fails. This happens because the subtitle buffer size also counts the null
terminator.

I have prepared a patch that seems to address the issue based on the subparse
element.

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