Commit 3070600d authored by Marton Balint's avatar Marton Balint

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: 's avatarMarton Balint <cus@passwd.hu>
parent 48e43a19
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment