mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- Chase API changes to x264
This commit is contained in:
parent
074f9dd82e
commit
8c76dcd8bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127403
@ -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}/ \
|
||||
|
16
multimedia/vlc-devel/files/patch-modules_codec_x264.c
Normal file
16
multimedia/vlc-devel/files/patch-modules_codec_x264.c
Normal file
@ -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;
|
@ -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}/ \
|
||||
|
16
multimedia/vlc/files/patch-modules_codec_x264.c
Normal file
16
multimedia/vlc/files/patch-modules_codec_x264.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user