1
0
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:
Michael Johnson 2005-01-26 10:10:41 +00:00
parent 074f9dd82e
commit 8c76dcd8bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127403
4 changed files with 34 additions and 2 deletions

View File

@ -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}/ \

View 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;

View File

@ -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}/ \

View 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;