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>
pull/19/head
Marton Balint 12 years ago
parent 48e43a1999
commit 3070600d9b
  1. 2
      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;
}

Loading…
Cancel
Save