<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 29 mai 2019 07 h 40, Halley Zhao <<a href="mailto:aihua.halley.zhao@gmail.com">aihua.halley.zhao@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi expert:<div><br></div><div>##background:</div><div>  I use a simple gst pipeline (appsrc->v4l2h264decode->waylandsink) inside a bigger pipeline of my own (not gst framework, handles demux, audio etc).</div><div>## issue</div><div>  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.</div><div>  is there any decent way to overcome this?</div><div>  I think the possible solution may flush the cached buffer during seek, but I don't find a quick way to do so.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Flushing seeks should already have this effect. Sounds like some bug somewhere.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>