<pre>
rtspsrc 
! video depay ! video parse ! video tee ! video queue ! fakesink ! video teename ! video queue ! mp4mux ! filesink
! audio depay ! audio parse ! audio tee ! audio queue ! fakesink ! audio teename ! audio queue ! mux name
 
when I go to block the audio or video pad on the queue to the mp4mux it will not let me for some reason sometimes either both or one. It will work for sometime then will not be able to and have to restart the pipeline. is there a way to check and see if you can block the pad or not?

sometimes the changing state to an element either the pipeline or element will make the hangup and freeze. sometimes will hangup on the null state on elements.

I notice that if I am make a thread by using _beginthreadex in the windows will happen more often. If i use the method 
        g_timeout_add_seconds(2, (GSourceFunc)stop_encoding, NULL); will not happen often. but it still happens after sometime. 

All i'm doing is blocking the video and audio queue to the mp4mux.

1. sending eos through the remain elements pass the block.
2. put null on the elements which is queue's, mp4mux, filesink.
3. unlink the elements and remove from bin.
4. re assign new elements and put in pipeline.
5. link the elements.
6. re-play the elements created.

<pre>

        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                ------------------------------
<br/>Gstreamer 1.14.3
<br/>------------------------------
<br/>Windows
                        </div>
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>