diff options
author | ahze <ahze@FreeBSD.org> | 2006-08-10 19:49:59 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-08-10 19:49:59 +0800 |
commit | f5e4cf27f13c5e3f116c987b3cd0f8e59339568b (patch) | |
tree | 2ac9c20ab392a2f9e6233d6cff29df0d09a006f1 /multimedia | |
parent | c5062c0535f3f8ee0b14aefbacd3b7c74a14cb4e (diff) | |
download | freebsd-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.cpp | 20 |
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(¶m,0,sizeof(param)); + x264_param_default( ¶m ); +- 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(¶m,0,sizeof(param)); + x264_param_default( ¶m ); + +- 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; |