ffmpeg | branch: master | Anton Khirnov <[email protected]> | Fri Nov 12 
18:24:07 2021 +0100| [e8380bbae6e3dfad9eaabf6ab0ba793221fd21f4] | committer: 
Anton Khirnov

ffmpeg: do not copy chroma_sample_location from the input stream

It will be set from the supplied AVFrame later on.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e8380bbae6e3dfad9eaabf6ab0ba793221fd21f4
---

 fftools/ffmpeg.c | 2 --
 1 file changed, 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) {

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to