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

2016-02-17 Thread Marton Balint
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 sett

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

2016-02-17 Thread Michael Niedermayer
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 te

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

2016-02-17 Thread Carl Eugen Hoyos
Marton Balint passwd.hu> writes: > 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. Thank you for looking at this so quickly! I wanted to open a ticket

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

2016-02-19 Thread Marton Balint
On Wed, 17 Feb 2016, Michael Niedermayer wrote: 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 opti