mirror of
https://git.freebsd.org/ports.git
synced 2025-07-15 16:29:15 -04:00
files/patch-libfaad2-common.h o Remove explicitly disabling real codecs as they can be manually added after installation if root really wants to (reported by Scott Lipcon <scott@libcon.org>) o Fix mplayer's x264 lib support is older than the version provided by the ports tree as of today. Including new patchfile files/patch-libmpcodecs-ve_x264.c (by Bruce M. Simpson <bms@spc.org>) Submitted by: Thomas E. Zander <riggs@rrr.de> (maintainer)
22 lines
687 B
C
22 lines
687 B
C
--- libmpcodecs/ve_x264.c Sun Mar 13 13:05:54 2005
|
|
+++ libmpcodecs/ve_x264.c.orig Sun Mar 13 13:05:35 2005
|
|
@@ -49,7 +49,7 @@
|
|
|
|
#include <x264.h>
|
|
|
|
-#if X264_BUILD < 0x000c
|
|
+#if X264_BUILD < 0x000e
|
|
#error We do not support old versions of x264. Get the latest from SVN.
|
|
#endif
|
|
|
|
@@ -138,8 +138,8 @@
|
|
|
|
x264_param_default(&mod->param);
|
|
mod->param.i_frame_reference = frame_ref;
|
|
- mod->param.i_idrframe = idrframe;
|
|
- mod->param.i_iframe = iframe;
|
|
+ mod->param.i_keyint_max = idrframe;
|
|
+ mod->param.i_keyint_min = iframe;
|
|
mod->param.i_scenecut_threshold = scenecut_threshold;
|
|
mod->param.i_bframe = bframe;
|
|
mod->param.b_deblocking_filter = deblock;
|