You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/nvenc: Require Maxwell for lossless
This commit is contained in:
@@ -410,6 +410,9 @@ static av_cold int nvenc_check_cuda(AVCodecContext *avctx)
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (!strncmp(ctx->preset, "lossless", 8))
|
||||
target_smver = 0x52;
|
||||
|
||||
if (!nvenc_dyload_cuda(avctx))
|
||||
return 0;
|
||||
|
||||
|
Reference in New Issue
Block a user