diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vlc-devel/Makefile | 2 | ||||
-rw-r--r-- | multimedia/vlc-devel/files/patch-modules_codec_x264.c | 16 | ||||
-rw-r--r-- | multimedia/vlc/Makefile | 2 | ||||
-rw-r--r-- | multimedia/vlc/files/patch-modules_codec_x264.c | 16 |
4 files changed, 34 insertions, 2 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; diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index e153c9c06cbb..3daf771c5de8 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/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/files/patch-modules_codec_x264.c b/multimedia/vlc/files/patch-modules_codec_x264.c new file mode 100644 index 000000000000..80fd89fedf6b --- /dev/null +++ b/multimedia/vlc/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; |