[MPlayer-cvslog] CVS: main mencoder.c,1.266,1.267

Richard Felker CVS syncmail at mplayerhq.hu
Fri Feb 25 11:17:34 CET 2005


CVS change done by Richard Felker CVS

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

Modified Files:
	mencoder.c 
Log Message:
do not hide frame skips/dups! if they happen it's very bad!!

Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.266
retrieving revision 1.267
diff -u -r1.266 -r1.267
--- mencoder.c	25 Feb 2005 07:43:40 -0000	1.266
+++ mencoder.c	25 Feb 2005 10:17:32 -0000	1.267
@@ -1580,7 +1580,7 @@
 
 if(skip_flag<0){
     // duplicate frame
-	if(file_format != DEMUXER_TYPE_TV && !quiet) mp_msg(MSGT_MENCODER, MSGL_WARN, MSGTR_DuplicateFrames,-skip_flag);
+	if(!quiet) mp_msg(MSGT_MENCODER, MSGL_WARN, MSGTR_DuplicateFrames,-skip_flag);
     while(skip_flag<0){
 	duplicatedframes++;
 	if (!encode_duplicates || !sh_video->vfilter || ((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_DUPLICATE_FRAME, 0) != CONTROL_TRUE)
@@ -1590,7 +1590,7 @@
 } else
 if(skip_flag>0){
     // skip frame
-	if(file_format != DEMUXER_TYPE_TV && !quiet) mp_msg(MSGT_MENCODER, MSGL_WARN, MSGTR_SkipFrame);
+	if(!quiet) mp_msg(MSGT_MENCODER, MSGL_WARN, MSGTR_SkipFrame);
 	skippedframes++;
     --skip_flag;
 }




More information about the MPlayer-cvslog mailing list