diff options
author | Marton Balint <cus@passwd.hu> | 2014-01-30 00:55:18 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2014-02-05 00:00:23 +0100 |
commit | 23e77f0e33b706ffdcf31a22189a61f1283aaa18 (patch) | |
tree | d6c75ed955863a2c8705880326e12903cb38518d | |
parent | cec6dec7c8b248b101646940af1b0893564dba26 (diff) | |
download | ffmpeg-23e77f0e33b706ffdcf31a22189a61f1283aaa18.tar.gz |
ffplay: flush subtitle codecs as well with null packets
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |