Browse Source

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>
tags/n1.2
Marton Balint 13 years ago
parent
commit
3070600d9b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffplay.c

+ 1
- 1
ffplay.c 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;
}



Loading…
Cancel
Save