From: Stefan Sauer Date: Tue, 19 Jul 2011 13:06:49 +0000 (+0200) Subject: x264enc: fix the build for older x264enc X-Git-Tag: 1.19.3~505^2~818^2~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f8a245796acfa7b26d22e2e93a19fc2ad2b83de;p=platform%2Fupstream%2Fgstreamer.git x264enc: fix the build for older x264enc b_fake_interlaced was introduced in x264 commit 1b48874d06 = X264_BUILD 96. --- diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index 30d0b906dc..08c930b43b 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -1255,7 +1255,9 @@ gst_x264_enc_init_encoder (GstX264Enc * encoder) if (encoder->peer_level->frame_only) { encoder->x264param.b_interlaced = FALSE; +#if X264_BUILD >= 95 encoder->x264param.b_fake_interlaced = FALSE; +#endif } }