Mercurial > libavcodec.hg
diff libx264.c @ 10566:7ca185b4bc42 libavcodec
Add weightp support in API for libx264.
ffmpeg can encode baseline profile again.
author | darkshikari |
---|---|
date | Tue, 24 Nov 2009 15:49:34 +0000 |
parents | f1d179ba9e7a |
children | 8a7d79132993 |
line wrap: on
line diff
--- a/libx264.c Tue Nov 24 15:13:47 2009 +0000 +++ b/libx264.c Tue Nov 24 15:49:34 2009 +0000 @@ -228,6 +228,7 @@ x4->params.analyse.i_direct_mv_pred = avctx->directpred; x4->params.analyse.b_weighted_bipred = avctx->flags2 & CODEC_FLAG2_WPRED; + x4->params.analyse.i_weighted_pred = avctx->weighted_p_pred; if (avctx->me_method == ME_EPZS) x4->params.analyse.i_me_method = X264_ME_DIA;