[FFmpeg-cvslog] ffplay: step to next frame if paused when seeking

Marton Balint git at videolan.org
Sat Feb 2 16:18:55 CET 2013


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sat Jan 19 01:57:50 2013 +0100| [4ea7fbb2ec1a8833b6683655b98f4bf42f817102] | committer: Marton Balint

ffplay: step to next frame if paused when seeking

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ea7fbb2ec1a8833b6683655b98f4bf42f817102
---

 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);



More information about the ffmpeg-cvslog mailing list