git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8cf25d
)
avcodec/nvenc: Require Maxwell for lossless
author
Timo Rothenpieler
<timo@rothenpieler.org>
Wed, 25 May 2016 10:15:03 +0000
(12:15 +0200)
committer
Timo Rothenpieler
<timo@rothenpieler.org>
Wed, 25 May 2016 10:16:54 +0000
(12:16 +0200)
libavcodec/nvenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/nvenc.c
b/libavcodec/nvenc.c
index
9aa80f8
..
73d0584
100644
(file)
--- a/
libavcodec/nvenc.c
+++ b/
libavcodec/nvenc.c
@@
-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;