diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-01 13:15:09 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-06 20:14:35 +0200 |
commit | f83c45183e6b98e553d25cbf51a9b4c729e959b9 (patch) | |
tree | 1c4e39b678c910e7610aa1086a9d91478903e58b /libavcodec/options.c | |
parent | bb73cda2f6667aa2c1b805a31a10ce9d59c3293d (diff) | |
download | ffmpeg-f83c45183e6b98e553d25cbf51a9b4c729e959b9.tar.gz |
libx264: add 'b-bias' private option
Deprecate AVCodecContext.bframebias.
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index 8a636eaa54..f7875de351 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -398,7 +398,9 @@ static const AVOption options[]={ {"keyint_min", "minimum interval between IDR-frames (x264)", OFFSET(keyint_min), FF_OPT_TYPE_INT, {.dbl = 25 }, INT_MIN, INT_MAX, V|E}, {"refs", "reference frames to consider for motion compensation (Snow)", OFFSET(refs), FF_OPT_TYPE_INT, {.dbl = 1 }, INT_MIN, INT_MAX, V|E}, {"chromaoffset", "chroma qp offset from luma", OFFSET(chromaoffset), FF_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|E}, +#if FF_API_X264_GLOBAL_OPTS {"bframebias", "influences how often B-frames are used", OFFSET(bframebias), FF_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|E}, +#endif {"trellis", "rate-distortion optimal quantization", OFFSET(trellis), FF_OPT_TYPE_INT, {.dbl = DEFAULT }, INT_MIN, INT_MAX, V|A|E}, {"directpred", "direct mv prediction mode - 0 (none), 1 (spatial), 2 (temporal), 3 (auto)", OFFSET(directpred), FF_OPT_TYPE_INT, {.dbl = 2 }, INT_MIN, INT_MAX, V|E}, #if FF_API_X264_GLOBAL_OPTS |