aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-01-19 01:57:50 +0100
committerMarton Balint <cus@passwd.hu>2013-02-02 12:38:15 +0100
commit4ea7fbb2ec1a8833b6683655b98f4bf42f817102 (patch)
tree15ef7925efd9ce0e93c284831de969adf06a2b7b
parentc5eab4bb70cc9884ff1e0e11cb2f980bb3b40937 (diff)
downloadffmpeg-4ea7fbb2ec1a8833b6683655b98f4bf42f817102.tar.gz
ffplay: step to next frame if paused when seeking
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--ffplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index c723b74a19..58ff99d4ce 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);