[FFmpeg-devel] [PATCH 2/2] ffplay: flush subtitle codecs as well with null packets
Marton Balint
cus at passwd.hu
Sun Feb 2 20:47:47 CET 2014
Signed-off-by: Marton Balint <cus at passwd.hu>
---
ffplay.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ffplay.c b/ffplay.c
index 0e173dc..b161e8c 100644
--- a/ffplay.c
+++ b/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;
--
1.8.4
More information about the ffmpeg-devel
mailing list