how to flush the GstBuffers in pipeline without stop it (GST_STATE_NULL)?
Halley Zhao
aihua.halley.zhao at gmail.com
Wed May 29 11:35:37 UTC 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190529/751f0ff4/attachment.html>
More information about the gstreamer-devel
mailing list