diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-11-29 15:18:08 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-11-29 15:18:08 +0100 |
commit | 24563c20f181cb9d7015e9595d9cb6846cf02dfa (patch) | |
tree | c995d5a498babc3ffbd1254376de4b1b27e7e6c1 /libavcodec/qsvenc_h264.c | |
parent | 7a9b4427b51eb14e1729f66268ebe794bddde581 (diff) | |
parent | e7d7cf86dcaba8eaaed62c80172ff0aff2588c2a (diff) | |
download | ffmpeg-24563c20f181cb9d7015e9595d9cb6846cf02dfa.tar.gz |
Merge commit 'e7d7cf86dcaba8eaaed62c80172ff0aff2588c2a'
* commit 'e7d7cf86dcaba8eaaed62c80172ff0aff2588c2a':
qsvenc: support more RC methods
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc_h264.c')
-rw-r--r-- | libavcodec/qsvenc_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index 147194b96c..542711bd4a 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -70,7 +70,7 @@ static const AVOption options[] = { { "idr_interval", "Distance (in I-frames) between IDR frames", OFFSET(qsv.idr_interval), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, { "pic_timing_sei", "Insert picture timing SEI with pic_struct_syntax element", OFFSET(qsv.pic_timing_sei), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, VE }, -#if QSV_VERSION_ATLEAST(1,7) +#if QSV_HAVE_LA { "look_ahead", "Use VBR algorithm with look ahead", OFFSET(qsv.look_ahead), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, VE }, { "look_ahead_depth", "Depth of look ahead in number frames", OFFSET(qsv.look_ahead_depth), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 100, VE }, #endif |