diff options
Diffstat (limited to 'stream/stream_file.c')
-rw-r--r-- | stream/stream_file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index 37bbee4cfb..1f46a01f41 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -26,7 +26,6 @@ #include "mp_msg.h" #include "stream.h" -#include "help_mp.h" #include "m_option.h" #include "m_struct.h" @@ -141,7 +140,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 HAVE_SETMODE setmode(fileno(stdin),O_BINARY); @@ -160,7 +159,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; } |