<div dir="ltr">Hi,<div><br></div><div><font color="#1f497d" face="Calibri, sans-serif"><span style="font-size:11pt">I tried setting async to false but due to this set caps is not  getting  called  for audio where the audio format is set. So my audio decoder is not getting </span><span style="font-size:15px">initialized</span><span style="font-size:11pt"> </span><span style="font-size:15px">and</span><span style="font-size:11pt"> due to this I hear no audio when I keep async to false.</span></font><br>

</div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Any suggestion?</span></div>

<div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thanks,</span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Yogesh</span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 1, 2014 at 2:10 AM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Le vendredi 31 janvier 2014 à 23:55 +0530, Yogesh Tyagi a écrit :<br>
<div><div class="h5">> Hi,<br>
><br>
><br>
> The plugin I am working on makes use of pre roll buffering provided by<br>
> hardware so I want to bypass gstreamer prerolling. Is it possible to<br>
> bypass prerolling for sink element.<br>
<br>
</div></div>Basesink has a property named async, setting it to false will<br>
effectively disable asynchronous state change, enabling your element to<br>
implement your own asynchronous state change (which is mostly what<br>
preroll is all about, letting GStreamer know when first frame reaches<br>
the display so we see something in pause). If you prefer to simply<br>
disable display of the first-frame, GstVideoSink has the<br>
show-preroll-frame that would let you do that, but it's not ideal since<br>
it would not be coherent. For more details, I would suggest getting<br>
familiar with GstBaseSink and GstVideoSink base classes.<br>
<br>
cheers,<br>
Nicolas<br>
<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">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>