diff options
author | Rafaël Carré <funman@videolan.org> | 2014-06-06 21:01:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-06 23:50:03 +0200 |
commit | 5265e3e40fd20f1b53e192587280b1f9a2355c81 (patch) | |
tree | 1020313ab6aff3a852111afbadaace85cf62a9d1 /libavcodec | |
parent | 37cf695af0ae8d418c4cfad9f997f1874563b603 (diff) | |
download | ffmpeg-5265e3e40fd20f1b53e192587280b1f9a2355c81.tar.gz |
avcodec/libvpxenc: Update the "cpu-used" options default to match the "speed" alias
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libvpxenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index bc0cf96b06..b56c02d9ed 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -754,7 +754,7 @@ static int vp8_encode(AVCodecContext *avctx, AVPacket *pkt, #endif #define COMMON_OPTIONS \ - { "cpu-used", "Quality/Speed ratio modifier", OFFSET(cpu_used), AV_OPT_TYPE_INT, {.i64 = INT_MIN}, INT_MIN, INT_MAX, VE}, \ + { "cpu-used", "Quality/Speed ratio modifier", OFFSET(cpu_used), AV_OPT_TYPE_INT, {.i64 = 1}, INT_MIN, INT_MAX, VE}, \ { "auto-alt-ref", "Enable use of alternate reference " \ "frames (2-pass only)", OFFSET(auto_alt_ref), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, VE}, \ { "lag-in-frames", "Number of frames to look ahead for " \ |