diff options
author | Marton Balint <cus@passwd.hu> | 2013-02-16 20:56:19 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-02-27 21:34:12 +0100 |
commit | 3070600d9b14b2e48637eb252a48b388195fda58 (patch) | |
tree | 62786c6b669fcf534c659ceb4b8f70460a1deec4 | |
parent | 48e43a1999fb47c0afb1b5c148e48262c84ec5ad (diff) | |
download | ffmpeg-3070600d9b14b2e48637eb252a48b388195fda58.tar.gz |
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>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |