Use stdout as default mencoder's output if no filename specified

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4889 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2002-02-28 08:26:20 +00:00
parent 783c4f43e4
commit da63498bf9
1 changed files with 3 additions and 3 deletions

View File

@ -44,12 +44,12 @@ void mp_msg_c( int x, const char *format, ... ){
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 @@ void mp_msg_c( int x, const char *format, ... ){
fflush(stderr);
} else {
// printf("%%%%%% ");
vprintf(format, va);
vfprintf(stderr,format, va);
fflush(stdout);
}
va_end(va);