changeset 4888:cb2adf32c356

Use stdout as default mencoder's output if no filename specified
author nick
date Thu, 28 Feb 2002 08:26:20 +0000
parents 6d753f5dde1e
children c91a96b35522
files mp_msg.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mp_msg.c	Thu Feb 28 03:01:53 2002 +0000
+++ b/mp_msg.c	Thu Feb 28 08:26:20 2002 +0000
@@ -44,12 +44,12 @@
               gtkMessageBox( GTK_MB_ERROR|GTK_MB_SIMPLE,tmp );
        	   break;
        case MSGL_WARN:
-              printf( "%s",tmp );
+              fprintf( stderr, "%s",tmp );
 	      fflush(stdout);
               gtkMessageBox( GTK_MB_WARNING|GTK_MB_SIMPLE,tmp );
        	   break;
        default:
-              printf( "%s",tmp );
+              fprintf(stderr, "%s",tmp );
 	      fflush(stdout);
       }
     } else
@@ -60,7 +60,7 @@
       fflush(stderr);
     } else {
 //	printf("%%%%%% ");
-      vprintf(format, va);
+      vfprintf(stderr,format, va);
       fflush(stdout);
     }
     va_end(va);