Browse Source

ffmpeg: sub2video: send a last blank frame before closing.

Fix trac ticket #3420.
tags/n2.3
Nicolas George 12 years ago
parent
commit
521707d42e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffmpeg.c

+ 2
- 0
ffmpeg.c View File

@@ -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);
}


Loading…
Cancel
Save