mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-12 17:50:00 +00:00
avcodec/nvenc: Require Maxwell for lossless
This commit is contained in:
parent
a8cf25dd92
commit
24fcb23351
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user