[Bug 781027] New: ttmlparse: Incorrectly filters untimed whitespace from content nodes

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 7 09:55:27 UTC 2017


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

            Bug ID: 781027
           Summary: ttmlparse: Incorrectly filters untimed whitespace from
                    content nodes
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: floobleflam at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 349446
  --> https://bugzilla.gnome.org/attachment.cgi?id=349446&action=edit
Example TTML file demonstrating the issue.

Significant whitespace in elements that don't have begin/end values should
inherit timing from their parent, and if their parents have no timing, from the
document's Root Temporal Extent. Currently, such whitespace is removed, which
is not spec-compliant.

The attached file demonstrates the problem. When this file is rendered, the
whitespace resulting from the newlines and the indentation before each span
should result in a single space with transparent background being rendered
between each rendered span. Instead, the spans are rendered without any space
between them.

Example file can be run using this command:

gst-launch-1.0 ttmlrender name=r videotestsrc pattern="gradient" !
video/x-raw,width=1280,height=720 ! autovideoconvert ! videoscale !
video/x-raw,width=1280,height=720 ! r.video_sink filesrc blocksize=4294967295
location=test.xml ! ttmlparse ! r.text_sink r. ! ximagesink

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