Browse Source

avcodec/nvenc: Require Maxwell for lossless

tags/n3.1
Timo Rothenpieler 9 years ago
parent
commit
24fcb23351
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/nvenc.c

+ 3
- 0
libavcodec/nvenc.c 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;



Loading…
Cancel
Save