[SCM] libav/experimental: vp9 encoder: use a decent default speed setting

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:29 UTC 2014


The following commit has been merged in the experimental branch:
commit 9affa784a0743b95bde135b5acfce2183afc35d8
Author: Rafaël Carré <funman at videolan.org>
Date:   Fri Jun 6 11:06:43 2014 -0700

    vp9 encoder: use a decent default speed setting
    
    Signed-off-by: Anton Khirnov <anton at khirnov.net>

diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index dc1ddc3..99f8b3e 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 "

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list