diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-28 08:26:20 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-28 08:26:20 +0000 |
commit | da63498bf947632d715f5e58182777b290ab4ec2 (patch) | |
tree | 12edf080d431dc9c3f784a77620ad918645b4abe /mp_msg.c | |
parent | 783c4f43e4a8024b2bb00714907fad7d67f47879 (diff) | |
download | mpv-da63498bf947632d715f5e58182777b290ab4ec2.tar.bz2 mpv-da63498bf947632d715f5e58182777b290ab4ec2.tar.xz |
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
Diffstat (limited to 'mp_msg.c')
-rw-r--r-- | mp_msg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |