How to bypass prerolling

Yogesh Tyagi yogesh.bit2006 at gmail.com
Thu Feb 6 09:10:41 PST 2014


Hi,

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 initialized and due to this I hear no audio when I keep async
to false.

Any suggestion?

Thanks,
Yogesh


On Sat, Feb 1, 2014 at 2:10 AM, Nicolas Dufresne <
nicolas.dufresne at collabora.com> wrote:

>
> Le vendredi 31 janvier 2014 à 23:55 +0530, Yogesh Tyagi a écrit :
> > Hi,
> >
> >
> > The plugin I am working on makes use of pre roll buffering provided by
> > hardware so I want to bypass gstreamer prerolling. Is it possible to
> > bypass prerolling for sink element.
>
> Basesink has a property named async, setting it to false will
> effectively disable asynchronous state change, enabling your element to
> implement your own asynchronous state change (which is mostly what
> preroll is all about, letting GStreamer know when first frame reaches
> the display so we see something in pause). If you prefer to simply
> disable display of the first-frame, GstVideoSink has the
> show-preroll-frame that would let you do that, but it's not ideal since
> it would not be coherent. For more details, I would suggest getting
> familiar with GstBaseSink and GstVideoSink base classes.
>
> cheers,
> Nicolas
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140206/8f4c12aa/attachment.html>


More information about the gstreamer-devel mailing list