diff options
author | Olivier Crête <tester@tester.ca> | 2010-05-26 23:16:46 -0400 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-05-28 12:15:42 +0100 |
commit | d6df52f99a82bc79d91aa229e379cfdf25c174d9 (patch) | |
tree | 1aee55045a397f0fc3a1ca6fde2825e4f98cf898 | |
parent | 59c72d39793638cd2de9ed63e99835015d56c2ce (diff) |
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.
-rw-r--r-- | ext/x264/gstx264enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index 9129aae1..c3c64a58 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; |