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

James Almer jamrial at gmail.com
Thu Sep 17 16:29:10 EEST 2020


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.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/hevcdec.c | 27 +++++++++++++++++++--------
>  1 file changed, 19 insertions(+), 8 deletions(-)

Ignore this patch. Will send a better version that syncs the fields
across threads.


More information about the ffmpeg-devel mailing list