Commit 83a68cd6 authored by James Zern's avatar James Zern Committed by Carl Eugen Hoyos

Set libvpx encoding profile to libavcodec's profile.

Patch by James Zern, jzern google

Originally committed as revision 24201 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 37497979
......@@ -277,6 +277,11 @@ static av_cold int vp8_init(AVCodecContext *avctx)
}
ctx->deadline = VPX_DL_GOOD_QUALITY;
/* 0-3: For non-zero values the encoder increasingly optimizes for reduced
complexity playback on low powered devices at the expense of encode
quality. */
if (avctx->profile != FF_PROFILE_UNKNOWN)
enccfg.g_profile = avctx->profile;
dump_enc_cfg(avctx, &enccfg);
/* Construct Encoder Context */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment