ports/multimedia/mplayer/files/patch-libmpcodecs-ve_x264.c
Pav Lucistnik 6481c738bf o Integration of pr 78670, including introduction of
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)
2005-03-14 23:07:15 +00:00

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;