diff options
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r-- | stream/stream_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index 9a4d7a3500..e0b7780c5f 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -126,7 +126,7 @@ static int open_f(stream_t *stream,int mode, void* opts, int* file_format) { if(!strcmp(filename,"-")){ if(mode == STREAM_READ) { // read from stdin - mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_ReadSTDIN); + mp_tmsg(MSGT_OPEN,MSGL_INFO,"Reading from stdin...\n"); f=0; // 0=stdin #if defined(__MINGW32__) || defined(__OS2__) setmode(fileno(stdin),O_BINARY); @@ -145,7 +145,7 @@ static int open_f(stream_t *stream,int mode, void* opts, int* file_format) { #endif f=open(filename,m, openmode); if(f<0) { - mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_FileNotFound,filename); + mp_tmsg(MSGT_OPEN,MSGL_ERR,"File not found: '%s'\n",filename); m_struct_free(&stream_opts,opts); return STREAM_ERROR; } |