You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
avcodec/videotoolboxenc: fix setting avctx color_range doesn't work
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
@@ -2304,7 +2304,7 @@ static int get_cv_pixel_info(
|
||||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
|
||||
VTEncContext *vtctx = avctx->priv_data;
|
||||
int av_format = frame->format;
|
||||
int av_color_range = frame->color_range;
|
||||
int av_color_range = avctx->color_range;
|
||||
int i;
|
||||
int range_guessed;
|
||||
int status;
|
||||
|
||||
Reference in New Issue
Block a user