summaryrefslogtreecommitdiffstats
path: root/libavcodec/nvenc_hevc.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2017-02-20 22:38:39 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2017-02-20 22:38:39 +0100
commitf747e1533ab0770cb2b4743998c5bda7b0719f23 (patch)
treecd7d44b7b2df46fd87428705f17a0b01ec290d6f /libavcodec/nvenc_hevc.c
parent7e538c947547b04267f0b307b0e7d96a84d558e0 (diff)
downloadffmpeg-streaming-f747e1533ab0770cb2b4743998c5bda7b0719f23.zip
ffmpeg-streaming-f747e1533ab0770cb2b4743998c5bda7b0719f23.tar.gz
avcodec/nvenc: allow forcing keyframes by default
Diffstat (limited to 'libavcodec/nvenc_hevc.c')
-rw-r--r--libavcodec/nvenc_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index cd1dcb9..1c97fb0 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -91,7 +91,7 @@ static const AVOption options[] = {
{ "no-scenecut", "When lookahead is enabled, set this to 1 to disable adaptive I-frame insertion at scene cuts",
OFFSET(no_scenecut), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE },
{ "forced-idr", "If forcing keyframes, force them as IDR frames.",
- OFFSET(forced_idr), AV_OPT_TYPE_BOOL, { .i64 = -1 }, -1, 1, VE },
+ OFFSET(forced_idr), AV_OPT_TYPE_BOOL, { .i64 = 0 }, -1, 1, VE },
{ "spatial_aq", "set to 1 to enable Spatial AQ", OFFSET(aq), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE },
{ "temporal_aq", "set to 1 to enable Temporal AQ", OFFSET(temporal_aq), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE },
{ "zerolatency", "Set 1 to indicate zero latency operation (no reordering delay)",
OpenPOWER on IntegriCloud