<div dir="ltr"><div>Hi Tim,</div><div><br></div><div>This happens when the tcp/ip connection to the camera is plugged out and when it stays out.</div><div>On that case I receive a GST_MESSAGE_ERROR , on which I send the a gst_event_new_eos () to the matroska sink.</div><div>As long as I receive errors I will try to establish a new connection, but then the specified blocks.</div><div>I don't know yet why the pipeline/sink it is in PAUSED state.</div><div>When call is blocked, it will never return, even when the connection is established later on.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-07 10:49 GMT+02:00 Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2015-08-07 at 08:21 +0000, Marc Lievens wrote:<br>
<br>
Hi Marc,<br>
<span><br>
> I'm using gstreamer 1.5.0 with pipeline rtspsrc! rtph264depay!<br>
> h264parse! matroskamux ! filesink<br>
><br>
><br>
><br>
> When I send a gst_pad_send_event(matroskamux sink ,<br>
> gst_event_new_eos())) it block sometimes.<br>
><br>
> I have the idea that this happens only when the pipeline is in the<br>
> PAUSED state.<br>
<br>
</span>This seems plausible. When the pipeline (sink) is in PAUSED state, no<br>
buffers are rendered and the sink blocks upstream elements. An EOS will<br>
also only be processed (notified to the application) in PLAYING state.<br>
<br>
Is there a reason your pipeline/sink is in PAUSED state at this point?<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" target="_blank" rel="noreferrer">http://www.centricular.com</a><br>
<br>
Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank" rel="noreferrer">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>