1
0
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:
Timo Rothenpieler
2016-05-25 12:15:03 +02:00
parent a8cf25dd92
commit 24fcb23351

View File

@@ -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;