[MPlayer-cvslog] r32565 - in trunk: DOCS/man/en/mplayer.1 libmpcodecs/ve_x264.c
cigaes
subversion at mplayerhq.hu
Fri Oct 29 15:53:16 CEST 2010
Author: cigaes
Date: Fri Oct 29 15:53:16 2010
New Revision: 32565
Log:
Support for -force-key-frames for ve_x264.
Modified:
trunk/libmpcodecs/ve_x264.c
Changes in other areas also in this revision:
Modified:
trunk/DOCS/man/en/mplayer.1
Modified: trunk/libmpcodecs/ve_x264.c
==============================================================================
--- trunk/libmpcodecs/ve_x264.c Fri Oct 29 15:52:26 2010 (r32564)
+++ trunk/libmpcodecs/ve_x264.c Fri Oct 29 15:53:16 2010 (r32565)
@@ -45,6 +45,7 @@
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"
+#include "ve.h"
#include "ve_x264.h"
#include <x264.h>
@@ -244,6 +245,8 @@ static int put_image(struct vf_instance
}
mod->pic.i_type = X264_TYPE_AUTO;
+ if (is_forced_key_frame(pts))
+ mod->pic.i_type = X264_TYPE_KEYFRAME;
return encode_frame(vf, &mod->pic) >= 0;
}
More information about the MPlayer-cvslog
mailing list