[FFmpeg-cvslog] avcodec/libvpxenc: Update the "cpu-used" options default to match the " speed" alias

Rafaël Carré git at videolan.org
Fri Jun 6 23:59:10 CEST 2014


ffmpeg | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jun  6 21:01:35 2014 +0200| [5265e3e40fd20f1b53e192587280b1f9a2355c81] | committer: Michael Niedermayer

avcodec/libvpxenc: Update the "cpu-used" options default to match the "speed" alias

Reviewed-by: James Zern <jzern at google.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5265e3e40fd20f1b53e192587280b1f9a2355c81
---

 libavcodec/libvpxenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index bc0cf96..b56c02d 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 " \



More information about the ffmpeg-cvslog mailing list