aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-08-10 01:07:29 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-08-10 01:07:29 +0000
commita032a2b84f6a9040e7c31b3e9b46b27b58d0d060 (patch)
treec787d43894833980b5b82a8d86ae9937d684e122 /multimedia/mplayer
parent6cd38703578a9498d0eb0b5f9030156b4d60d81b (diff)
downloadports-a032a2b84f6a9040e7c31b3e9b46b27b58d0d060.tar.gz
ports-a032a2b84f6a9040e7c31b3e9b46b27b58d0d060.zip
Notes
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c b/multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c
new file mode 100644
index 000000000000..3d3fa9c5dd7b
--- /dev/null
+++ b/multimedia/mplayer/files/patch-libmpcodecs_ve_x264.c
@@ -0,0 +1,11 @@
+--- libmpcodecs/ve_x264.c.orig Wed Aug 9 21:05:29 2006
++++ libmpcodecs/ve_x264.c Wed Aug 9 21:06:26 2006
+@@ -275,7 +275,7 @@
+ "VBV requires both vbv_maxrate and vbv_bufsize.\n");
+ return 0;
+ }
+- mod->param.rc.b_cbr = 1;
++ mod->param.rc.i_rc_method = 1;
+ mod->param.rc.i_bitrate = bitrate;
+ mod->param.rc.f_rate_tolerance = ratetol;
+ mod->param.rc.i_vbv_max_bitrate = vbv_maxrate;