From e8380bbae6e3dfad9eaabf6ab0ba793221fd21f4 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 12 Nov 2021 18:24:07 +0100 Subject: ffmpeg: do not copy chroma_sample_location from the input stream It will be set from the supplied AVFrame later on. --- fftools/ffmpeg.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'fftools') diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index c9a9cdfcd6..5325353bc9 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3332,8 +3332,6 @@ static int init_output_stream_encode(OutputStream *ost, AVFrame *frame) if (ist) { dec_ctx = ist->dec_ctx; - - enc_ctx->chroma_sample_location = dec_ctx->chroma_sample_location; } if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { -- cgit v1.2.3