aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-24 00:04:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-24 00:05:23 +0100
commit3788b8dbe698384d0167c9f79242d9076168f178 (patch)
tree202fbf9d01e1a69eb7a749e2cf7f37cf56941a73 /ffmpeg.c
parent5dfbecb3a37423227d7739983b7289bd05feab8c (diff)
parentc0c1fe797cdfa9188c0415a2570e61bf0964ab1c (diff)
downloadffmpeg-3788b8dbe698384d0167c9f79242d9076168f178.tar.gz
Merge remote-tracking branch 'cigaes/master'
* cigaes/master: lavu: add myself as dynarray.h maintainer. ffmpeg: sub2video: send a last blank frame before closing. tools: add dvd2concat. lavf/concatdec: allow to match streams by id. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 4b9209dd92..b8f6fe8081 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
}