forked from ports/contrib
16 lines
780 B
Diff
16 lines
780 B
Diff
diff -pruN gst-plugins-ugly-0.10.13.orig/ext/x264/gstx264enc.c gst-plugins-ugly-0.10.13/ext/x264/gstx264enc.c
|
|
--- gst-plugins-ugly-0.10.13.orig/ext/x264/gstx264enc.c 2009-12-26 03:50:48.969825112 +0000
|
|
+++ gst-plugins-ugly-0.10.13/ext/x264/gstx264enc.c 2009-12-26 03:54:15.974208182 +0000
|
|
@@ -582,7 +582,11 @@ gst_x264_enc_init_encoder (GstX264Enc *
|
|
encoder->x264param.analyse.i_noise_reduction = encoder->noise_reduction;
|
|
encoder->x264param.i_frame_reference = encoder->ref;
|
|
encoder->x264param.i_bframe = encoder->bframes;
|
|
+#if X264_BUILD < 78
|
|
encoder->x264param.b_bframe_pyramid = encoder->b_pyramid;
|
|
+#else
|
|
+ encoder->x264param.i_bframe_pyramid = encoder->b_pyramid;
|
|
+#endif
|
|
#if X264_BUILD < 63
|
|
encoder->x264param.b_bframe_adaptive = encoder->b_adapt;
|
|
#else
|