ffmpeg: always init output stream before reaping filters
authorMarton Balint <cus@passwd.hu>
Tue, 3 Oct 2017 22:43:30 +0000 (00:43 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 18 Oct 2017 19:52:47 +0000 (21:52 +0200)
commitf4090940bd3024e69d236257d327f11d1e496229
treec772c8bbb8fa92c8fbe49c362cb366b6d637d044
parent89cc48551bbe9f147ba9f4ca3821a35797cf7b47
ffmpeg: always init output stream before reaping filters

Otherwise the frame size of the codec is not set in the buffersink.

Fixes ticket #6603 and the following simpler case:

ffmpeg -c aac -filter_complex "sine=d=0.1,asetnsamples=1025" out.aac

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