[MPlayer-cvslog] r32564 - in trunk: DOCS/man/en/mplayer.1 libmpcodecs/ve_lavc.c

cigaes subversion at mplayerhq.hu
Fri Oct 29 15:52:26 CEST 2010


Author: cigaes
Date: Fri Oct 29 15:52:26 2010
New Revision: 32564

Log:
Support for -force-key-frames for ve_lavc.

Modified:
   trunk/libmpcodecs/ve_lavc.c

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/man/en/mplayer.1

Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c	Fri Oct 29 15:50:05 2010	(r32563)
+++ trunk/libmpcodecs/ve_lavc.c	Fri Oct 29 15:52:26 2010	(r32564)
@@ -45,6 +45,7 @@
 #include "img_format.h"
 #include "fmt-conversion.h"
 #include "mp_image.h"
+#include "ve.h"
 #include "vf.h"
 #include "vd_ffmpeg.h"
 
@@ -772,6 +773,7 @@ static int put_image(struct vf_instance 
     pic->linesize[0]=mpi->stride[0];
     pic->linesize[1]=mpi->stride[1];
     pic->linesize[2]=mpi->stride[2];
+    pic->pict_type = is_forced_key_frame(pts) ? FF_I_TYPE : 0;
 
     if(lavc_param_interlaced_dct){
         if((mpi->fields & MP_IMGFIELD_ORDERED) && (mpi->fields & MP_IMGFIELD_INTERLACED))


More information about the MPlayer-cvslog mailing list