summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/x264/gstx264enc.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8fb868dd..f883f773 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
+
+ * ext/x264/gstx264enc.c:
+ Fix build against the libx264 version that ships with debian stable.
+
2007-10-26 Julien MOUTTE <julien@moutte.net>
* configure.ac:
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index 21693b8d..70b94a70 100644
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
@@ -593,7 +593,9 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder)
encoder->x264param.b_deblocking_filter = 1;
encoder->x264param.i_deblocking_filter_alphac0 = 0;
encoder->x264param.i_deblocking_filter_beta = 0;
+#ifdef X264_RC_ABR
encoder->x264param.rc.i_rc_method = X264_RC_ABR;
+#endif
encoder->x264param.rc.i_bitrate = encoder->bitrate;
encoder->x264param.rc.i_vbv_max_bitrate = encoder->bitrate;
encoder->x264param.rc.i_vbv_buffer_size