You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc/videotoolboxenc.c: Fix preprocessor macro for OSX 10.10.5 and probably older versions
This commit is contained in:
@@ -1038,7 +1038,7 @@ static int get_cv_ycbcr_matrix(AVCodecContext *avctx, CFStringRef *matrix) {
|
|||||||
// constant quality only on Macs with Apple Silicon
|
// constant quality only on Macs with Apple Silicon
|
||||||
static bool vtenc_qscale_enabled(void)
|
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,
|
static int vtenc_create_encoder(AVCodecContext *avctx,
|
||||||
|
Reference in New Issue
Block a user