Re: [FFmpeg-devel] [PATCH] avocdec/hevcdec: set SEI derived AVCodecContext fields as soon as they are parsed

2020-09-17 Thread James Almer
On 9/16/2020 9:36 PM, James Almer wrote: > export_stream_params() may not be called in some scenarios, for example > leaving > both the AVCodecContext and subsequent output frames with the color_trc value > taken from the VUI instead of the Alternative Transfer Characteristics SEI. > >

[FFmpeg-devel] [PATCH] avocdec/hevcdec: set SEI derived AVCodecContext fields as soon as they are parsed

2020-09-16 Thread James Almer
export_stream_params() may not be called in some scenarios, for example leaving both the AVCodecContext and subsequent output frames with the color_trc value taken from the VUI instead of the Alternative Transfer Characteristics SEI. Signed-off-by: James Almer --- libavcodec/hevcdec.c | 27