Playing/pausing bins within a running pipeline
Guillaume Dorchies
guillaume.dorchies at gmail.com
Tue May 29 01:19:53 PDT 2012
Hello,
I have this pipeline I add bin B dynamicly
|-----------------------------|
|bin A |
| source -> queue ->|\
|-----------------------------| \
-> Adder -> queue -> sink
|-----------------------------| /
|bin B |/
| source -> queue ->|
|-----------------------------|
What I want to be able to do is pause "bin B", play it etc (without
affecting "bin A")
I try gst_element_set_state (binB, GST_STATE_PAUSED); but this don't work
I try :
pad = gst_element_get_static_pad(binB, "src");
gst_pad_set_blocked(pad,TRUE);
But this block the pipeline
Does someone know how to do this or where can I find an example ?
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120529/2bf472ec/attachment.html>
More information about the gstreamer-devel
mailing list