[gst-devel] Adding new tee src%d to a running pipeline...

Nathanael D. Noblet nathanael at gnat.ca
Wed Jul 28 11:58:17 CEST 2010

On 07/28/2010 01:07 AM, Andrey Nechypurenko wrote:
> Hi,
> Just a very minor thing which I doubt is the reason for the problem:
>> sinkpad = gst_element_get_pad(filequeue,"sink");
>> srcpad  = gst_element_get_request_pad(tee,"src2");
>> gst_pad_set_blocked(srcpad,TRUE);
>> gst_pad_set_active(srcpad,TRUE);
> Should not the last line here be
> gst_pad_set_active(srcpad,FALSE);
> I doubt that it would help, but who knows :-)

I've actually removed the calls to this as they haven't done anything 
and based on the api docs it seems that they should more than likely be 
called by core, and emit pad-added type events like when a demuxer adds 
pads based on what it detects...

More information about the gstreamer-devel mailing list