diff options
author | Nicolas George <george@nsup.org> | 2014-03-02 20:59:32 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-03-23 19:16:35 +0100 |
commit | 521707d42e1ec3fab8a4a2e988554fea894ddb04 (patch) | |
tree | c4d469b39274145913e8b227808b465331f00628 /ffmpeg.c | |
parent | 27cff4f6f8e028b30a9932e059545676829492d3 (diff) | |
download | ffmpeg-521707d42e1ec3fab8a4a2e988554fea894ddb04.tar.gz |
ffmpeg: sub2video: send a last blank frame before closing.
Fix trac ticket #3420.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -297,6 +297,8 @@ static void sub2video_flush(InputStream *ist) { int i; + if (ist->sub2video.end_pts < INT64_MAX) + sub2video_update(ist, NULL); for (i = 0; i < ist->nb_filters; i++) av_buffersrc_add_ref(ist->filters[i]->filter, NULL, 0); } |