Revision: 87381 http://trac.macports.org/changeset/87381 Author: ryandesign@macports.org Date: 2011-11-18 20:42:37 -0800 (Fri, 18 Nov 2011) Log Message: ----------- VLC09: fix "error: 'x264_param_t' has no member named 'b_bframe_pyramid'" with latest x264; see #32118 Modified Paths: -------------- trunk/dports/multimedia/VLC09/Portfile Added Paths: ----------- trunk/dports/multimedia/VLC09/files/patch-modules-codec-x264.c.diff Modified: trunk/dports/multimedia/VLC09/Portfile =================================================================== --- trunk/dports/multimedia/VLC09/Portfile 2011-11-19 04:07:56 UTC (rev 87380) +++ trunk/dports/multimedia/VLC09/Portfile 2011-11-19 04:42:37 UTC (rev 87381) @@ -37,7 +37,8 @@ port:gnutls port:taglib port:libxml2 port:faad2 patchfiles patch-Makefile.am.diff \ - patch-modules-codec-png.c.diff + patch-modules-codec-png.c.diff \ + patch-modules-codec-x264.c.diff use_autoreconf yes autoreconf.args -fvi Added: trunk/dports/multimedia/VLC09/files/patch-modules-codec-x264.c.diff =================================================================== --- trunk/dports/multimedia/VLC09/files/patch-modules-codec-x264.c.diff (rev 0) +++ trunk/dports/multimedia/VLC09/files/patch-modules-codec-x264.c.diff 2011-11-19 04:42:37 UTC (rev 87381) @@ -0,0 +1,11 @@ +--- modules/codec/x264.c.orig 2009-07-27 16:50:40.000000000 -0500 ++++ modules/codec/x264.c 2011-11-18 21:28:06.000000000 -0600 +@@ -948,7 +948,7 @@ + + #if X264_BUILD >= 22 + var_Get( p_enc, SOUT_CFG_PREFIX "bpyramid", &val ); +- p_sys->param.b_bframe_pyramid = val.b_bool; ++ p_sys->param.i_bframe_pyramid = val.b_bool; + #endif + + var_Get( p_enc, SOUT_CFG_PREFIX "ref", &val );