summaryrefslogtreecommitdiffstats
path: root/demux_mpg.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-26 21:35:14 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-26 21:35:14 +0000
commit2f6b07dba8627ec4c76e1855e78d40ada06f469a (patch)
tree2a2459c077f12205662b196052840c328088c932 /demux_mpg.c
parentbb02b536652fe698067c191ffe33a0421fe16ff3 (diff)
downloadmpv-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 'demux_mpg.c')
-rw-r--r--demux_mpg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/demux_mpg.c b/demux_mpg.c
index 74604ca160..dc4cc7f438 100644
--- a/demux_mpg.c
+++ b/demux_mpg.c
@@ -6,6 +6,7 @@
#include "config.h"
#include "mp_msg.h"
+#include "help_mp.h"
#include "config.h"
#include "dvdauth.h"
@@ -107,7 +108,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){
#ifdef HAVE_LIBCSS
css=1;
#else
- mp_msg(MSGT_DEMUX,MSGL_WARN,"Encrypted VOB file (not compiled with libcss support)! Read file DOCS/DVD\n");
+ mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_EncryptedVOB);
#endif
}
c=stream_read_char(demux->stream); pts_flags=c>>6;
@@ -231,7 +232,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){
#ifdef HAVE_LIBCSS
if (css) {
if (descrambling) CSSDescramble(demux->stream->buffer,key_title); else
- mp_msg(MSGT_DEMUX,MSGL_WARN,"Encrypted stream but authentication was not requested by you!!\n");
+ mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_EncryptedVOBauth);
}
#endif
ds_read_packet(ds,demux->stream,len,pts/90000.0f,demux->filepos,0);
@@ -310,7 +311,7 @@ do{
if(!ret)
if(--max_packs==0){
demux->stream->eof=1;
- mp_msg(MSGT_DEMUX,MSGL_ERR,"demux: file doesn't contain the selected audio or video stream\n");
+ mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_DoesntContainSelectedStream);
return 0;
}
} else {