You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffmpeg: do not copy chroma_sample_location from the input stream
It will be set from the supplied AVFrame later on.
This commit is contained in:
@@ -3332,8 +3332,6 @@ static int init_output_stream_encode(OutputStream *ost, AVFrame *frame)
|
|||||||
|
|
||||||
if (ist) {
|
if (ist) {
|
||||||
dec_ctx = ist->dec_ctx;
|
dec_ctx = ist->dec_ctx;
|
||||||
|
|
||||||
enc_ctx->chroma_sample_location = dec_ctx->chroma_sample_location;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {
|
if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {
|
||||||
|
Reference in New Issue
Block a user