diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-10-26 17:18:41 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-10-26 17:18:41 +0000 |
commit | 936460ea72f714dade3c7e3d3c4bc0388216a568 (patch) | |
tree | 70e7e4064f95a05c7a9663106479beefcd8c8cc4 | |
parent | 843665f109ee76b07564af09252e658198fb3b17 (diff) | |
download | gst-plugins-bad-936460ea72f714dade3c7e3d3c4bc0388216a568.tar.gz gst-plugins-bad-936460ea72f714dade3c7e3d3c4bc0388216a568.tar.bz2 gst-plugins-bad-936460ea72f714dade3c7e3d3c4bc0388216a568.zip |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/x264/gstx264enc.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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 |