how to flush the GstBuffers in pipeline without stop it (GST_STATE_NULL)?

Nicolas Dufresne nicolas at
Wed May 29 12:53:59 UTC 2019

Le mer. 29 mai 2019 07 h 40, Halley Zhao <aihua.halley.zhao at> a
écrit :

> Hi expert:
> ##background:
>   I use a simple gst pipeline (appsrc->v4l2h264decode->waylandsink) inside
> a bigger pipeline of my own (not gst framework, handles demux, audio etc).
> ## issue
>   I meet issue for seek.  when I seek backward (sometime before current
> time), the clock is reset to a previous time and new buffer comes with
> smaller pts. but the cached buffer in gst pipeline has a bigger pts than
> new clock time, video rendering will be blocked for long time.
>   is there any decent way to overcome this?
>   I think the possible solution may flush the cached buffer during seek,
> but I don't find a quick way to do so.

Flushing seeks should already have this effect. Sounds like some bug

> gstreamer-devel mailing list
> gstreamer-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list