Browse code

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>

Marton Balint authored on 2013/02/17 04:56:19
Showing 1 changed files
... ...
@@ -2196,7 +2196,7 @@ static int audio_decode_frame(VideoState *is)
2196 2196
             av_free_packet(pkt);
2197 2197
         memset(pkt_temp, 0, sizeof(*pkt_temp));
2198 2198
 
2199
-        if (is->paused || is->audioq.abort_request) {
2199
+        if (is->audioq.abort_request) {
2200 2200
             return -1;
2201 2201
         }
2202 2202