[MOVED FROM BAD 05/28] ext/x264/gstx264enc.c: Fix build against the libx264 version...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 26 Oct 2007 17:18:41 +0000 (17:18 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Fri, 5 Jun 2009 17:48:22 +0000 (18:48 +0100)
Original commit message from CVS:
* ext/x264/gstx264enc.c:
Fix build against the libx264 version that ships with debian stable.

ext/x264/gstx264enc.c

index 21693b8db520b81e46f54ca312fecfb192635c8f..70b94a70a5531602d2b1dcda46c9935be3f04964 100644 (file)
@@ -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