mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/videotoolboxenc: warn when alpha quality not set
Added a warn log when alpha quality cannot be set, but continue encoding. Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
parent
902c949d30
commit
247e977953
@ -1262,6 +1262,13 @@ static int vtenc_create_encoder(AVCodecContext *avctx,
|
||||
compat_keys.kVTCompressionPropertyKey_TargetQualityForAlpha,
|
||||
alpha_quality_num);
|
||||
CFRelease(alpha_quality_num);
|
||||
|
||||
if (status) {
|
||||
av_log(avctx,
|
||||
AV_LOG_ERROR,
|
||||
"Error setting alpha quality: %d\n",
|
||||
status);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user