From d6df52f99a82bc79d91aa229e379cfdf25c174d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 26 May 2010 23:16:46 -0400 Subject: [PATCH] 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. --- ext/x264/gstx264enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index 9129aae174..c3c64a5841 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -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;