diff options
author | Rafaël Carré <funman@videolan.org> | 2014-06-06 11:06:43 -0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-06-17 21:38:43 +0200 |
commit | 9affa784a0743b95bde135b5acfce2183afc35d8 (patch) | |
tree | eb77e348e15c871bd0a7cdd3091382b6baa072a9 | |
parent | 74bc9458057f07c0820c3d3264396c4c64442e47 (diff) | |
download | ffmpeg-9affa784a0743b95bde135b5acfce2183afc35d8.tar.gz |
vp9 encoder: use a decent default speed setting
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-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 dc1ddc3dc9..99f8b3e312 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -541,7 +541,7 @@ static int vp8_encode(AVCodecContext *avctx, AVPacket *pkt, #define OFFSET(x) offsetof(VP8Context, x) #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption 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 " |