[gstreamer-bugs] [Bug 578933] 'element-added' signal does not work for sink elements being added in playbin2

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jun 23 01:04:36 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=578933

  GStreamer | gst-plugins-base | Ver: git




------- Comment #7 from Patrick Radizi  2009-06-23 08:04 UTC -------
I just tested again and now I actually get a signal when decodebin and what's
in it gets added! I haven't tested this since I upgraded to gst-plugins-base
10-22. Either I did something wrong before or something has changed, either way
all that's in decodebin is now accessible, which is good since that was the
most serious problem. 

The only thing still not signaled is the sink part. This is less serious since
you can set your own video/audio sink as a property on playbin, but for
consistency I think it would still be nice if that worked to. Also, perhaps
someone needs to be able to set a property on some of the other elements of
vbin or abin? It simply gives an application greater flexibility if all
elements of the pipeline is available.

I had a look in playbin2.c and found that the reason that elemtent-added
doesn't work for the sink is that the playsink element is added to playbin
inside the playbin init function. If this is instead done in the state change
function when going from NULL to READY it works a bit better. Then you get a
signal for playsink, vbin and abin. However for some unknown reason you still
don't get a signal for the elements being added to vbin and abin.


Tim, I'm using decoder and sink for and embedded system using TI hardware. Both
elements have a number of properties that needs to be set, device file names,
buffer sizes, output resolutions etc etc.
Since playbin can't know anything about this it's up to the application to set
these properties 'manually'. This is why I must have access to these elements.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=578933.




More information about the Gstreamer-bugs mailing list