diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-26 21:35:14 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-26 21:35:14 +0000 |
commit | 2f6b07dba8627ec4c76e1855e78d40ada06f469a (patch) | |
tree | 2a2459c077f12205662b196052840c328088c932 /stream.c | |
parent | bb02b536652fe698067c191ffe33a0421fe16ff3 (diff) | |
download | mpv-2f6b07dba8627ec4c76e1855e78d40ada06f469a.tar.bz2 mpv-2f6b07dba8627ec4c76e1855e78d40ada06f469a.tar.xz |
all error/warn/info messages moved to help_mp-en.h for translation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1974 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -9,6 +9,8 @@ #include <fcntl.h> #include "config.h" +#include "mp_msg.h" +#include "help_mp.h" #include "stream.h" @@ -116,7 +118,7 @@ if(newpos==0 || newpos!=s->pos){ case STREAMTYPE_STREAM: //s->pos=newpos; // real seek if(newpos<s->pos){ - printf("Cannot seek backward in linear streams!\n"); + mp_msg(MSGT_STREAM,MSGL_INFO,"Cannot seek backward in linear streams!\n"); return 1; } while(s->pos<newpos){ @@ -134,10 +136,11 @@ if(newpos==0 || newpos!=s->pos){ s->buf_pos=pos; // byte position in sector return 1; } + #ifdef _LARGEFILE_SOURCE - if(verbose) printf("stream_seek: WARNING! Can't seek to 0x%llX !\n",(long long)(pos+newpos)); + mp_msg(MSGT_STREAM,MSGL_V,"stream_seek: WARNING! Can't seek to 0x%llX !\n",(long long)(pos+newpos)); #else - if(verbose) printf("stream_seek: WARNING! Can't seek to 0x%X !\n",(pos+newpos)); + mp_msg(MSGT_STREAM,MSGL_V,"stream_seek: WARNING! Can't seek to 0x%X !\n",(pos+newpos)); #endif return 0; } |