aboutsummaryrefslogtreecommitdiff
path: root/multimedia/avidemux2
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-08-10 11:49:59 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-08-10 11:49:59 +0000
commit0138481d5418929b63546966daa9610b6f45ecd7 (patch)
tree8648c35c73af9fb10ee4be047ce06ef557d7c0df /multimedia/avidemux2
parenta9c49db85e6daa2ca602a32ff8ff79a0849e4e22 (diff)
- Fix build with x264
Notes
Notes: svn path=/head/; revision=170272
Diffstat (limited to 'multimedia/avidemux2')
-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;