[Bug 787942] New: ttmlparse: Doesn't implement default showBackground behaviour

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 20 13:29:38 UTC 2017


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

            Bug ID: 787942
           Summary: ttmlparse: Doesn't implement default showBackground
                    behaviour
    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 360130
  --> https://bugzilla.gnome.org/attachment.cgi?id=360130&action=edit
TTML file demonstrating the problem

In TTML the default value of the tts:showBackground attribute is "always",
meaning that region backgrounds that don't have showBackground explicitly set
should be always visible, even when no text is rendered into them. However,
code in ttmlparse that assigns begin/end times to regions breaks this default
behaviour.

Attached is a file which demonstrates the problem. The top region background
should be visible at all times, even when no text is rendered into the region.
You can view it with the following command:

gst-launch-1.0 ttmlrender name=r videotestsrc pattern="gradient" !
video/x-raw,width=1280,height=720 ! autovideoconvert ! r.video_sink filesrc
blocksize=16777216 location=showBackground-default.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