[FFmpeg-devel] [PATCH 5/5] ffplay: step to next frame if paused when seeking

Marton Balint cus at passwd.hu
Sun Jan 27 16:59:30 CET 2013


Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffplay.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffplay.c b/ffplay.c
index c723b74..58ff99d 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2728,6 +2728,8 @@ static int read_thread(void *arg)
             }
             is->seek_req = 0;
             eof = 0;
+            if (is->paused)
+                step_to_next_frame(is);
         }
         if (is->queue_attachments_req) {
             avformat_queue_attached_pictures(ic);
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list