ffmpeg: do not finish output streams manually on eof even if no input is provided
authorMarton Balint <cus@passwd.hu>
Sun, 18 Mar 2018 17:34:23 +0000 (18:34 +0100)
committerMarton Balint <cus@passwd.hu>
Wed, 28 Mar 2018 22:07:39 +0000 (00:07 +0200)
commit0031eab61c82af7fca3aff4ced82c6ab9eb4e786
tree6df452b8d05e7f2053aa818b7844e4d36fab5fc7
parent60c9a2553041152a32e7093756f728898593a585
ffmpeg: do not finish output streams manually on eof even if no input is provided

The generic code should be able to finish the streams just fine initializing
and flushing the filters and codecs properly.

Fixes the following command:

ffmpeg -f lavfi -i "testsrc=d=0.1[out0];aevalsrc=0:d=0[out1]" -af apad -shortest -f framecrc -

Signed-off-by: Marton Balint <cus@passwd.hu>
fftools/ffmpeg.c