[MPlayer-cvslog] r32566 - in trunk: DOCS/man/en/mplayer.1 libmpcodecs/ve_xvid4.c
cigaes
subversion at mplayerhq.hu
Fri Oct 29 15:54:42 CEST 2010
Author: cigaes
Date: Fri Oct 29 15:54:42 2010
New Revision: 32566
Log:
Support for -force-key-frames for ve_xvid4.
Modified:
trunk/libmpcodecs/ve_xvid4.c
Changes in other areas also in this revision:
Modified:
trunk/DOCS/man/en/mplayer.1
Modified: trunk/libmpcodecs/ve_xvid4.c
==============================================================================
--- trunk/libmpcodecs/ve_xvid4.c Fri Oct 29 15:53:16 2010 (r32565)
+++ trunk/libmpcodecs/ve_xvid4.c Fri Oct 29 15:54:42 2010 (r32566)
@@ -46,6 +46,7 @@
#include "img_format.h"
#include "mp_image.h"
+#include "ve.h"
#include "vf.h"
#include <xvid.h>
@@ -536,6 +537,9 @@ put_image(struct vf_instance *vf, mp_ima
if(set_frame_struct(mod, mpi) == BAD)
return BAD;
+ mod->frame.type = is_forced_key_frame(pts) || xvidenc_motion == 0 ?
+ XVID_TYPE_IVOP : XVID_TYPE_AUTO;
+
/* -------------------------------------------------------------------
* Encode the frame
* ---------------------------------------------------------------- */
More information about the MPlayer-cvslog
mailing list