[Bug 663822] [subtitleoverlay] should not hardcode to use textoverlay element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 10 18:57:31 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=663822
  GStreamer | gst-plugins-base | 0.10.x

--- Comment #1 from bcxa.sz at gmail.com 2011-11-11 02:57:26 UTC ---
someone recommend to use playbin2 text-sink property. And I tried it can work
with some ugly code.

The text-sink property of playbin2 is just a 'text sink'. It has only one sink
pad to receive text. Then this text sink bin will not get video height and
width.

And video and text will not be in the same chain. To workaround this issue,
upstream video decoder element will send heigh and width information to this
text sink bin with event mechanism. But video decoder element should not have
such kind of knowledge where the text sink bin is. Then it will be application
to tell video decoder element who the text sink bin is. Then you see it make
things complicated. And it will not be a good solution.

So my suggestion is that:
1. subtitleoverlay bin not hard code to use textoverlay
. developer can provide own textoverlay

or

2. playbin2 not hardcode to use subtitleoverlay bin
. developer can provide own subtitleoverlay bin

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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