aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-08-10 19:49:59 +0800
committerahze <ahze@FreeBSD.org>2006-08-10 19:49:59 +0800
commitf5e4cf27f13c5e3f116c987b3cd0f8e59339568b (patch)
tree2ac9c20ab392a2f9e6233d6cff29df0d09a006f1 /multimedia
parentc5062c0535f3f8ee0b14aefbacd3b7c74a14cb4e (diff)
downloadfreebsd-ports-gnome-f5e4cf27f13c5e3f116c987b3cd0f8e59339568b.tar.gz
freebsd-ports-gnome-f5e4cf27f13c5e3f116c987b3cd0f8e59339568b.tar.zst
freebsd-ports-gnome-f5e4cf27f13c5e3f116c987b3cd0f8e59339568b.zip
- Fix build with x264
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avidemux2/files/patch-avidemux_ADM_codecs_ADM_x264.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/avidemux2/files/patch-avidemux_ADM_codecs_ADM_x264.cpp b/multimedia/avidemux2/files/patch-avidemux_ADM_codecs_ADM_x264.cpp
new file mode 100644
index 000000000000..31db973f1a63
--- /dev/null
+++ b/multimedia/avidemux2/files/patch-avidemux_ADM_codecs_ADM_x264.cpp
@@ -0,0 +1,20 @@
+--- avidemux/ADM_codecs/ADM_x264.cpp.orig Thu Aug 10 07:44:45 2006
++++ avidemux/ADM_codecs/ADM_x264.cpp Thu Aug 10 07:45:53 2006
+@@ -200,7 +200,7 @@
+ {
+ memset(&param,0,sizeof(param));
+ x264_param_default( &param );
+- param.rc.b_cbr=1;
++ param.rc.i_rc_method = X264_RC_CQP;
+ param.rc.i_bitrate=val/1000;
+ // param.rc.i_rc_buffer_size=val/1000;
+ // param.rc.i_rc_init_buffer=(val/1000)>>1;
+@@ -234,7 +234,7 @@
+ memset(&param,0,sizeof(param));
+ x264_param_default( &param );
+
+- param.rc.b_cbr=1;
++ param.rc.i_rc_method = X264_RC_CQP;
+ param.rc.i_bitrate=val;
+ //param.rc.i_rc_buffer_size=val;
+ //param.rc.i_rc_init_buffer=val>>1;