From 936460ea72f714dade3c7e3d3c4bc0388216a568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 26 Oct 2007 17:18:41 +0000 Subject: ext/x264/gstx264enc.c: Fix build against the libx264 version that ships with debian stable. Original commit message from CVS: * ext/x264/gstx264enc.c: Fix build against the libx264 version that ships with debian stable. --- ChangeLog | 5 +++++ ext/x264/gstx264enc.c | 2 ++ 2 files changed, 7 insertions(+) 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 + + * ext/x264/gstx264enc.c: + Fix build against the libx264 version that ships with debian stable. + 2007-10-26 Julien MOUTTE * 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 -- cgit v1.2.1