[FFmpeg-devel] [PATCH] ffmpeg: init input streams before opening encoders

Michael Niedermayer michael at niedermayer.cc
Wed Feb 17 21:09:29 CET 2016


On Wed, Feb 17, 2016 at 08:36:41PM +0100, Marton Balint wrote:
> Codec options of streams detected during avformat_find_stream_info are not set
> therefore without this patch we initialize the encoders with decoder info
> based on decoders without options.
> 
> This cause problems for probed DVB teletext streams where
> avctx->subtitle_header depend on the txt_format setting.
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  ffmpeg.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

i think this is ok but please wait for others to be able to
comment too

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160217/3ce35529/attachment.sig>


More information about the ffmpeg-devel mailing list