Commit 23e77f0e authored by Marton Balint's avatar Marton Balint

ffplay: flush subtitle codecs as well with null packets

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent cec6dec7
......@@ -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;
......
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