diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-04-01 19:01:37 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-04-15 20:37:47 +0200 |
commit | 89605e4aa018f75fef1de531449383b0e9d1bfe1 (patch) | |
tree | dd63277813925917792d3f5ba696adc6f140202d | |
parent | 3e901cbc753ec6ddd20ebec4efd1e6f2bd404b39 (diff) | |
download | ffmpeg-89605e4aa018f75fef1de531449383b0e9d1bfe1.tar.gz |
avconv: send EOF to vsrc_buffer.
-rw-r--r-- | avconv.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2216,6 +2216,9 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int quality = same_quant ? decoded_frame->quality : 0; if (!*got_output) { /* no picture yet */ + if (!pkt->size) + for (i = 0; i < ist->nb_filters; i++) + av_buffersrc_buffer(ist->filters[i]->filter, NULL); return ret; } decoded_frame->pts = guess_correct_pts(&ist->pts_ctx, decoded_frame->pkt_pts, |