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 /demuxer.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 'demuxer.c')
-rw-r--r-- | demuxer.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -407,7 +407,7 @@ if(file_format==DEMUXER_TYPE_UNKNOWN || file_format==DEMUXER_TYPE_MPEG_PS){ file_format=DEMUXER_TYPE_MPEG_ES; // <-- hack is here :) } else { if(demuxer->synced==2) - mp_msg(MSGT_DEMUXER,MSGL_ERR,MSGTR_MissingMpegVideo); + mp_msg(MSGT_DEMUXER,MSGL_ERR,"MPEG: " MSGTR_MissingVideoStreamBug); else mp_msg(MSGT_DEMUXER,MSGL_V,"Not MPEG System Stream format... (maybe Transport Stream?)\n"); } @@ -465,7 +465,7 @@ switch(file_format){ // demuxer->idx_pos=0; // demuxer->endpos=avi_header.movi_end; if(!ds_fill_buffer(d_video)){ - mp_msg(MSGT_DEMUXER,MSGL_WARN,MSGTR_MissingASFvideo); + mp_msg(MSGT_DEMUXER,MSGL_WARN,"ASF: " MSGTR_MissingVideoStream); sh_video=NULL; //printf("ASF: missing video stream!? contact the author, it may be a bug :(\n"); //GUI_MSG( mplASFErrorMissingVideoStream ) @@ -482,7 +482,7 @@ switch(file_format){ if(audio_id!=-2){ mp_msg(MSGT_DEMUXER,MSGL_V,"ASF: Searching for audio stream (id:%d)\n",d_audio->id); if(!ds_fill_buffer(d_audio)){ - mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_MissingASFaudio); + mp_msg(MSGT_DEMUXER,MSGL_INFO,"ASF: " MSGTR_MissingAudioStream); sh_audio=NULL; } else { sh_audio=d_audio->sh;sh_audio->ds=d_audio; @@ -503,7 +503,7 @@ switch(file_format){ if(audio_id!=-2) { if(!ds_fill_buffer(d_audio)){ - mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_MissingMPEGaudio); + mp_msg(MSGT_DEMUXER,MSGL_INFO,"MPEG: " MSGTR_MissingAudioStream); sh_audio=NULL; } else { sh_audio=d_audio->sh;sh_audio->ds=d_audio; @@ -534,9 +534,9 @@ int demux_seek(demuxer_t *demuxer,float rel_seek_secs,int flags){ if(!demuxer->seekable){ if(demuxer->file_format==DEMUXER_TYPE_AVI) - mp_msg(MSGT_SEEK,MSGL_WARN,"Can't seek in raw .AVI streams! (index required, try with the -idx switch!) \n"); + mp_msg(MSGT_SEEK,MSGL_WARN,MSGTR_CantSeekRawAVI); else - mp_msg(MSGT_SEEK,MSGL_WARN,"Can't seek in this file! \n"); + mp_msg(MSGT_SEEK,MSGL_WARN,MSGTR_CantSeekFile); return 0; } |