aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-10-03 01:36:30 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-10-03 01:36:30 +0000
commit1124db206bd9086f914e7809e5edfac2e1ed06dc (patch)
treebadf12894d1d92852c75a5fef9082557a220333d /multimedia
parent9e7d271d1af9cad3947dd43b44a8f7cbfed22f9e (diff)
downloadports-1124db206bd9086f914e7809e5edfac2e1ed06dc.tar.gz
ports-1124db206bd9086f914e7809e5edfac2e1ed06dc.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile2
-rw-r--r--multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 00dc31fabf18..8c1345db2f1a 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 0.4.9.cvs.${RELEASE_DATE}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://mplayerhq.hu/MPlayer/cvs/
diff --git a/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c b/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c
index e69de29bb2d1..7ae0189d03f4 100644
--- a/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c
+++ b/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c
@@ -0,0 +1,11 @@
+--- libavcodec/x264.c.orig Mon Feb 20 16:01:06 2006
++++ libavcodec/x264.c Mon Oct 2 22:26:03 2006
+@@ -148,7 +148,7 @@
+
+ // if neither crf nor cqp modes are selected we have to enable the RC
+ // we do it this way because we cannot check if the bitrate has been set
+- if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.b_cbr = 1;
++ if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.i_rc_method = 1;
+
+ x4->params.i_bframe = avctx->max_b_frames;
+ x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;