You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge remote-tracking branch 'cus/stable'
* cus/stable: ffplay: signal the frame queue before closing audio Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
3
ffplay.c
3
ffplay.c
@@ -2786,9 +2786,8 @@ static void stream_component_close(VideoState *is, int stream_index)
|
|||||||
switch (avctx->codec_type) {
|
switch (avctx->codec_type) {
|
||||||
case AVMEDIA_TYPE_AUDIO:
|
case AVMEDIA_TYPE_AUDIO:
|
||||||
packet_queue_abort(&is->audioq);
|
packet_queue_abort(&is->audioq);
|
||||||
|
|
||||||
SDL_CloseAudio();
|
|
||||||
frame_queue_signal(&is->sampq);
|
frame_queue_signal(&is->sampq);
|
||||||
|
SDL_CloseAudio();
|
||||||
SDL_WaitThread(is->audio_tid, NULL);
|
SDL_WaitThread(is->audio_tid, NULL);
|
||||||
|
|
||||||
decoder_destroy(&is->auddec);
|
decoder_destroy(&is->auddec);
|
||||||
|
Reference in New Issue
Block a user