aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/vlc-devel
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-26 18:10:41 +0800
committerahze <ahze@FreeBSD.org>2005-01-26 18:10:41 +0800
commit6e895901ef04672a43d51a387dcf380b3d431eb9 (patch)
treec8024fe55a0ec654c8045d8d7530d0e8e97bcd25 /multimedia/vlc-devel
parentdbd3e5abb6515b22579a93298d897de8110e8a76 (diff)
downloadfreebsd-ports-gnome-6e895901ef04672a43d51a387dcf380b3d431eb9.tar.gz
freebsd-ports-gnome-6e895901ef04672a43d51a387dcf380b3d431eb9.tar.zst
freebsd-ports-gnome-6e895901ef04672a43d51a387dcf380b3d431eb9.zip
- Chase API changes to x264
Diffstat (limited to 'multimedia/vlc-devel')
-rw-r--r--multimedia/vlc-devel/Makefile2
-rw-r--r--multimedia/vlc-devel/files/patch-modules_codec_x264.c16
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile
index e153c9c06cbb..3daf771c5de8 100644
--- a/multimedia/vlc-devel/Makefile
+++ b/multimedia/vlc-devel/Makefile
@@ -176,7 +176,7 @@
PORTNAME= vlc
PORTVERSION= 0.8.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
http://ftp.snt.utwente.nl/pub/software/videolan/vlc/${PORTVERSION}/ \
diff --git a/multimedia/vlc-devel/files/patch-modules_codec_x264.c b/multimedia/vlc-devel/files/patch-modules_codec_x264.c
new file mode 100644
index 000000000000..80fd89fedf6b
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_codec_x264.c
@@ -0,0 +1,16 @@
+--- modules/codec/x264.c.orig Thu Nov 11 13:50:16 2004
++++ modules/codec/x264.c Wed Jan 26 05:03:04 2005
+@@ -236,10 +236,11 @@
+ p_sys->param.b_deblocking_filter = val.b_bool;
+
+ var_Get( p_enc, SOUT_CFG_PREFIX "keyint", &val );
+- if( val.i_int > 0 ) p_sys->param.i_iframe = val.i_int;
++ if( val.i_int > 0 ) p_sys->param.i_keyint_max = val.i_int;
++ if( val.i_int > 0 ) p_sys->param.i_keyint_min = val.i_int * 0.4;
+
+ var_Get( p_enc, SOUT_CFG_PREFIX "idrint", &val );
+- if( val.i_int > 0 ) p_sys->param.i_idrframe = val.i_int;
++ if( val.i_int > 0 ) p_sys->param.i_keyint_min = val.i_int;
+
+ var_Get( p_enc, SOUT_CFG_PREFIX "bframes", &val );
+ if( val.i_int >= 0 && val.i_int <= 16 ) p_sys->param.i_bframe = val.i_int;