[FFmpeg-devel] [PATCH] ffmpeg: init input streams before opening encoders
Marton Balint
cus at passwd.hu
Fri Feb 19 23:15:17 CET 2016
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 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
>
Got no further comments, so I applied this.
Regards,
Marton
More information about the ffmpeg-devel
mailing list