<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 15 janv. 2020 09 h 15, Thomas Bond <<a href="mailto:tom.bond@entexpinc.com">tom.bond@entexpinc.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
<br>
     I'm using this method to step forward.<br>
<br>
gst_event_new_step (GST_FORMAT_BUFFERS,framesToSkip, 1, TRUE, FALSE)<br>
<br>
<br>
     What do I need to do in order to change direction to step backward?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You need to change the direction by first seeking with a negative rate. This is the only way decoders can be refilled with the entire GOP. You can do a flushing seek at the current position.</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>
     In my scenario I need to go back a frame and the go forward a frame <br>
so I end on the same frame I started from.<br>
<br>
I need to do this to update post processing I'm doing when the video <br>
stream is stopped.<br>
<br>
<br>
     Thanks in advance.<br>
<br>
<br>
     Tom<br>
<br>
_______________________________________________<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><br>
</blockquote></div></div></div>