mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
ffplay: flush subtitle codecs as well with null packets
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
cec6dec7c8
commit
23e77f0e33
2
ffplay.c
2
ffplay.c
@ -2948,6 +2948,8 @@ static int read_thread(void *arg)
|
||||
packet_queue_put_nullpacket(&is->videoq, is->video_stream);
|
||||
if (is->audio_stream >= 0)
|
||||
packet_queue_put_nullpacket(&is->audioq, is->audio_stream);
|
||||
if (is->subtitle_stream >= 0)
|
||||
packet_queue_put_nullpacket(&is->subtitleq, is->subtitle_stream);
|
||||
SDL_Delay(10);
|
||||
eof=0;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user