ffplay: step to next frame if paused when seeking
authorMarton Balint <cus@passwd.hu>
Sat, 19 Jan 2013 00:57:50 +0000 (01:57 +0100)
committerMarton Balint <cus@passwd.hu>
Sat, 2 Feb 2013 11:38:15 +0000 (12:38 +0100)
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c

index c723b74..58ff99d 100644 (file)
--- 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);