<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>
<DIV>I create a pipeline containing the following components in order:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; UDP Source</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Queue</DIV>
<DIV>&nbsp;&nbsp;&nbsp; RTPDepay</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Mpeg4Decoder</DIV>
<DIV>&nbsp;&nbsp;&nbsp; VideoRate</DIV>
<DIV>&nbsp;&nbsp;&nbsp; ColourSpaceConvert</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Tee</DIV>
<DIV>&nbsp;</DIV>
<DIV>I then attach a bin to the Tee.&nbsp; The bin is simply a queue followed by 
a DirectShow sink, i.e.:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Queue</DIV>
<DIV>&nbsp;&nbsp;&nbsp; DirectShowSink</DIV>
<DIV>&nbsp;</DIV>
<DIV>I also attach a fake sink to the Tee so that the pipeline has somewhere to 
send data if the DirectShow sink isn't there:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Queue</DIV>
<DIV>&nbsp;&nbsp;&nbsp; FakeSink</DIV>
<DIV>&nbsp;</DIV>
<DIV>This works fine and I see streaming video in the DirectShow window.&nbsp; 
Now if I want to pause streaming, and for the sake of argument when I say pause 
streaming I mean continue the streaming underneath to a fake sink, but just 
freeze the display, I first pause the pipeline, then unlink the DirectShow bin 
and finally I remove the DirectShow bin from the pipeline.&nbsp; Again, this 
works as expected, with the RTP stream's clock still counting upward, but the 
DirectShow window remaining static.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now, when I want to get the DirectShow window displaying again, linking it 
back into the pipeline, I assume I just need to pause the pipeline, add the 
DirectShow bin to the pipeline and then link it to the Tee again.&nbsp; However 
unlike the first time I linked it, this time it gives me an error:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 0:01:47.192718000&nbsp; 5288&nbsp;&nbsp; 08CF9038 INFO 
GST_ELEMENT_PADS gstutils.c:1614:gst_element_link_pads_full: trying to link 
element gStreamerBinStreamRTP_tee:(any) to element 
gStreamerBinDirectShow_queue:(any)</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 0:01:47.196718000&nbsp; 5288&nbsp;&nbsp; 08CF9038 INFO 
GST_ELEMENT_PADS gstelement.c:963:gst_element_get_static_pad: found pad 
gStreamerBinDirectShow_queue:sink</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 0:01:47.196718000&nbsp; 5288&nbsp;&nbsp; 08CF9038 INFO 
GST_ELEMENT_PADS 
gstutils.c:1221:gst_element_get_compatible_pad:&lt;gStreamerBinDirectShow_queue&gt; 
Could not find a compatible pad to link to gStreamerBinStreamRTP_tee:src1</DIV>
<DIV>&nbsp;</DIV>
<DIV>This is odd because obviously the first time it tried to link it was quite 
happy, i..e:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 0:00:15.019501000&nbsp; 5288&nbsp;&nbsp; 00331AD0 INFO 
GST_ELEMENT_PADS gstutils.c:1614:gst_element_link_pads_full: trying to link 
element gStreamerBinStreamRTP_tee:(any) to element 
gStreamerBinDirectShow_queue:(any)</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 0:00:15.030502000&nbsp; 5288&nbsp;&nbsp; 00331AD0 INFO 
GST_ELEMENT_PADS 
gstelement.c:716:gst_element_add_pad:&lt;gStreamerBinStreamRTP_tee&gt; adding 
pad 'src1'</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 0:00:15.031503000&nbsp; 5288&nbsp;&nbsp; 00331AD0 INFO 
GST_PADS gstutils.c:1520:prepare_link_maybe_ghosting: gStreamerBinStreamRTP_tee 
and gStreamerBinDirectShow_queue not in same bin, making ghost pads</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, where am I going wrong here?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV></DIV></DIV></DIV></BODY></HTML>