diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index f063a86e73..4eaabed5d8 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -1038,7 +1038,7 @@ static int get_cv_ycbcr_matrix(AVCodecContext *avctx, CFStringRef *matrix) { // constant quality only on Macs with Apple Silicon static bool vtenc_qscale_enabled(void) { - return TARGET_OS_OSX && TARGET_CPU_ARM64; + return !TARGET_OS_IPHONE && TARGET_CPU_ARM64; } static int vtenc_create_encoder(AVCodecContext *avctx,