aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-12 18:24:07 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-23 11:36:59 +0100
commite8380bbae6e3dfad9eaabf6ab0ba793221fd21f4 (patch)
treea4da1d2879b77019812dc92665dc438a179489aa /fftools
parent0e22d2e59b4231a8e0e4bcca56b3f123b9474147 (diff)
downloadffmpeg-e8380bbae6e3dfad9eaabf6ab0ba793221fd21f4.tar.gz
ffmpeg: do not copy chroma_sample_location from the input stream
It will be set from the supplied AVFrame later on.
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 0 insertions, 2 deletions
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) {