[MPlayer-cvslog] CVS: main mencoder.c,1.316,1.317

Richard Felker CVS syncmail at mplayerhq.hu
Sun Oct 23 17:05:13 CEST 2005


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv412

Modified Files:
	mencoder.c 
Log Message:
comment on -noskip patch

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.316
retrieving revision 1.317
diff -u -r1.316 -r1.317
--- mencoder.c	23 Oct 2005 07:37:55 -0000	1.316
+++ mencoder.c	23 Oct 2005 15:05:11 -0000	1.317
@@ -1302,6 +1302,11 @@
 	// unwanted skipping of a frame, what to do?
         v_timer_corr-=(float)mux_v->h.dwScale/mux_v->h.dwRate;
 #if 0
+        // Old code apparently made under the assumption that !blit_frame means
+        // decoding failed due to corruption or something.. but duplication and
+        // skipping of frames should be entirely disabled when skip_limit==0,
+        // and must be in order for many filters to work with -noskip.
+        // Eventually this entire block should probably be removed.
 	if(skip_limit==0){
 	    // skipping not allowed -> write empty frame:
 	    if (!encode_duplicates || !sh_video->vfilter || ((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_DUPLICATE_FRAME, 0) != CONTROL_TRUE)




More information about the MPlayer-cvslog mailing list