summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cdda.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-10 21:33:12 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-10 21:33:12 +0000
commit8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d (patch)
treeb9bf14e369b00ff68fc2825b60a09c540a08f586 /libmpdemux/cdda.c
parent09ed4549ebf56596a637586b5c5e99c1d361caa8 (diff)
downloadmpv-8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d.tar.bz2
mpv-8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d.tar.xz
[TRIVIAL] More translatables to help_mp and printfs to mp_msg on libmpdemux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16968 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/cdda.c')
-rw-r--r--libmpdemux/cdda.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libmpdemux/cdda.c b/libmpdemux/cdda.c
index d7628817f9..81950f5940 100644
--- a/libmpdemux/cdda.c
+++ b/libmpdemux/cdda.c
@@ -13,6 +13,9 @@
#include "cdd.h"
+#include "mp_msg.h"
+#include "help_mp.h"
+
#ifndef CD_FRAMESIZE_RAW
#define CD_FRAMESIZE_RAW CDIO_CD_FRAMESIZE_RAW
#endif
@@ -146,7 +149,7 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) {
#endif
if(!cdd) {
- mp_msg(MSGT_OPEN,MSGL_ERR,"Can't open cdda device\n");
+ mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_MPDEMUX_CDDA_CantOpenCDDADevice);
m_struct_free(&stream_opts,opts);
return STREAM_ERROR;
}
@@ -161,14 +164,14 @@ static int open_cdda(stream_t *st,int m, void* opts, int* file_format) {
}
if(cdda_open(cdd) != 0) {
- mp_msg(MSGT_OPEN,MSGL_ERR,"Can't open disc\n");
+ mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_MPDEMUX_CDDA_CantOpenDisc);
cdda_close(cdd);
m_struct_free(&stream_opts,opts);
return STREAM_ERROR;
}
cd_info = cd_info_new();
- mp_msg(MSGT_OPEN,MSGL_INFO,"Found Audio CD with %d tracks\n",cdda_tracks(cdd));
+ mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_MPDEMUX_CDDA_AudioCDFoundWithNTracks,cdda_tracks(cdd));
for(i=0;i<cdd->tracks;i++) {
char track_name[80];
long sec=cdda_track_firstsector(cdd,i+1);