[FFmpeg-devel] [PATCH 1/9] ffmpeg: do not copy chroma_sample_location from the input stream
Anton Khirnov
anton at khirnov.net
Mon Nov 15 17:23:52 EET 2021
It will be set from the supplied AVFrame later on.
---
fftools/ffmpeg.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index f755f44bd9..0f2fe192ac 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3368,8 +3368,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) {
--
2.33.0
More information about the ffmpeg-devel
mailing list