Re: [FFmpeg-devel] [PATCH] ffmpeg: do not mark outputs as finished unless AVERROR_EOF

2015-11-22 Thread Nicolas George
Le duodi 2 frimaire, an CCXXIV, Mort Yao a écrit : > Whenever an error occurred in get_input_packet(), process_input() used to > attempt to mark all outputs that didn't go through lavfi as finished. However, > for a concat demuxer, doing so might drop the rest of input streams (in case > of > an e

[FFmpeg-devel] [PATCH] ffmpeg: do not mark outputs as finished unless AVERROR_EOF

2015-11-22 Thread Mort Yao
For now, the concat demuxer summarily drops the whole output streams in case of an error (e.g. EINVAL), which might not be the ideal behavior if the rest of input has yet to be processed and concatenated. To reproduce, $ ffmpeg -y -f concat -i filelist.txt -c copy output.mp4 On example input: h