<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi all!</p>
<p><br>
</p>
<p>I'm using an old 1.4.5 gstreamer release. I have sometimes a deadlock in the '<span>default_acquire_buffer</span>()' method from gstbufferpool.c when a video playing is</p>
<p>already ended. The code has a comment:</p>
<p><br>
</p>
<p></p>
<div>    /* now we release the control socket, we wait for a buffer release or<br>
     * flushing */<br>
    gst_poll_read_control (pool->priv->poll);<br>
    GST_LOG_OBJECT (pool, "waiting for free buffers or flushing");<br>
    gst_poll_wait (priv->poll, GST_CLOCK_TIME_NONE);<br>
    gst_poll_write_control (pool->priv->poll);<br>
</div>
<p></p>
<p><br>
</p>
<p>and I would like to know how to force a flush in order to get the control back to my application.</p>
<p>In the same file is the '<span>gst_buffer_pool_set_flushing</span>' method. What's the way to get a flush done?</p>
<p>With gst_event_new_flush_start()/stop() methods? With '<span>gst_bus_set_flushing</span>()'?</p>
<br>
<p>Thanks!</p>
<p>Jorge<br>
</p>
</div>
</body>
</html>