x264enc: disable I weighted pred

If it is enabled, then it will be main profile instead of baseline.
This ensures maximum compatibility of the output stream until the
encoder configuration interface gets an overhaul with explicit
output profile selection.

Fixes #619776.
This commit is contained in:
Olivier Crête 2010-05-26 23:16:46 -04:00 committed by Tim-Philipp Müller
parent 59c72d3979
commit d6df52f99a

View file

@ -594,6 +594,7 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
encoder->x264param.analyse.inter = encoder->analyse;
encoder->x264param.analyse.b_transform_8x8 = encoder->dct8x8;
encoder->x264param.analyse.b_weighted_bipred = encoder->weightb;
encoder->x264param.analyse.i_weighted_pred = 0;
encoder->x264param.analyse.i_noise_reduction = encoder->noise_reduction;
encoder->x264param.i_frame_reference = encoder->ref;
encoder->x264param.i_bframe = encoder->bframes;