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>
This commit is contained in:
Marton Balint 2013-02-16 20:56:19 +01:00
parent 48e43a1999
commit 3070600d9b

View File

@ -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;
}