ffplay: drop remaining frames in current audio avpacket when seeking

Fixes ticket #1928.

Signed-off-by: Marton Balint <cus@passwd.hu>
pull/19/head
Marton Balint 12 years ago
parent 4be7d578a3
commit 48e43a1999
  1. 3
      ffplay.c

@ -2090,6 +2090,9 @@ static int audio_decode_frame(VideoState *is)
} else
avcodec_get_frame_defaults(is->frame);
if (is->audioq.serial != is->audio_pkt_temp_serial)
break;
if (is->paused)
return -1;

Loading…
Cancel
Save