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:
parent
0e22d2e59b
commit
e8380bbae6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user