OSDN Git Service

avcodec/nvenc_hevc: Added missing option -temporal_aq
authorSven C. Dack <sven.c.dack@sky.com>
Thu, 13 Oct 2016 17:06:09 +0000 (18:06 +0100)
committerTimo Rothenpieler <timo@rothenpieler.org>
Wed, 19 Oct 2016 10:45:52 +0000 (12:45 +0200)
The option is present in h264_nvenc, but was missing from hevc_nvenc.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
libavcodec/nvenc_hevc.c

index 320f290..0fec77a 100644 (file)
@@ -93,6 +93,7 @@ static const AVOption options[] = {
     { "forced-idr",   "If forcing keyframes, force them as IDR frames.",
                                                             OFFSET(forced_idr),   AV_OPT_TYPE_BOOL,  { .i64 = -1 }, -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)",
                                                             OFFSET(zerolatency),  AV_OPT_TYPE_BOOL,  { .i64 = 0 }, 0, 1, VE },
     { "nonref_p",     "Set this to 1 to enable automatic insertion of non-reference P-frames",