[MPlayer-dev-eng] trivial verbosity issue

Reynaldo H. Verdejo Pinochet reynaldo at opendot.cl
Tue Feb 15 23:01:58 CET 2005


frameskiped, duplicatedframe; shouldnt the check be done this way?

 Reynaldo
 
-------------- next part --------------
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.262
diff -a -u -r1.262 mencoder.c
--- mencoder.c	12 Feb 2005 15:11:02 -0000	1.262
+++ mencoder.c	15 Feb 2005 21:54:03 -0000
@@ -1419,7 +1419,7 @@
 
 if(skip_flag<0){
     // duplicate frame
-	if(file_format != DEMUXER_TYPE_TV && !verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_DuplicateFrames,-skip_flag);
+	if(file_format != DEMUXER_TYPE_TV && verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, 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)
@@ -1429,7 +1429,7 @@
 } else
 if(skip_flag>0){
     // skip frame
-	if(file_format != DEMUXER_TYPE_TV && !verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SkipFrame);
+	if(file_format != DEMUXER_TYPE_TV && verbose) mp_msg(MSGT_FIXME, MSGL_FIXME, MSGTR_SkipFrame);
 	skippedframes++;
     --skip_flag;
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050215/c7406737/attachment.pgp>


More information about the MPlayer-dev-eng mailing list