summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2013-02-16 20:56:19 +0100
committerMarton Balint <cus@passwd.hu>2013-02-27 21:34:12 +0100
commit3070600d9b14b2e48637eb252a48b388195fda58 (patch)
tree62786c6b669fcf534c659ceb4b8f70460a1deec4 /ffplay.c
parent48e43a1999fb47c0afb1b5c148e48262c84ec5ad (diff)
ffplay: only quit from audio_decode_frame before decoding when paused
This way the audio clock is updated to a proper value even when the video is paused. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index ed53023854..4f24a32fe9 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2196,7 +2196,7 @@ static int audio_decode_frame(VideoState *is)
av_free_packet(pkt);
memset(pkt_temp, 0, sizeof(*pkt_temp));
- if (is->paused || is->audioq.abort_request) {
+ if (is->audioq.abort_request) {
return -1;
}