--- ext/x264/gstx264enc.c.orig	2009-10-23 02:38:11.072491683 +0200
+++ ext/x264/gstx264enc.c	2009-10-23 02:38:28.689156190 +0200
@@ -582,7 +582,7 @@
   encoder->x264param.analyse.i_noise_reduction = encoder->noise_reduction;
   encoder->x264param.i_frame_reference = encoder->ref;
   encoder->x264param.i_bframe = encoder->bframes;
-  encoder->x264param.b_bframe_pyramid = encoder->b_pyramid;
+  encoder->x264param.i_bframe_pyramid = encoder->b_pyramid;
 #if X264_BUILD < 63
   encoder->x264param.b_bframe_adaptive = encoder->b_adapt;
 #else
