diff options
author | wm4 <wm4@nowhere> | 2013-12-16 20:40:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-16 20:41:08 +0100 |
commit | 7dc7b900c622235d595337c988a0c75280084b7c (patch) | |
tree | 7f896555c9478430edd28d56fb6fde5691b0e643 /stream/stream_vcd.c | |
parent | 3e6cd3ef19aca7c79dfc73412f98b70b7de011b4 (diff) |
Replace mp_tmsg, mp_dbg -> mp_msg, remove mp_gtext(), remove set_osd_tmsg
The tmsg stuff was for the internal gettext() based translation system,
which nobody ever attempted to use and thus was removed. mp_gtext() and
set_osd_tmsg() were also for this.
mp_dbg was once enabled in debug mode only, but since we have log level
for enabling debug messages, it seems utterly useless.
Diffstat (limited to 'stream/stream_vcd.c')
-rw-r--r-- | stream/stream_vcd.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c index 0bc7e14f53..20fab8d9e5 100644 --- a/stream/stream_vcd.c +++ b/stream/stream_vcd.c @@ -117,7 +117,7 @@ static int open_s(stream_t *stream,int mode) f=open(dev,O_RDONLY | O_CLOEXEC); #endif if(f<0){ - mp_tmsg(MSGT_OPEN,MSGL_ERR,"CD-ROM Device '%s' not found.\n",dev); + mp_msg(MSGT_OPEN,MSGL_ERR,"CD-ROM Device '%s' not found.\n",dev); return STREAM_ERROR; } @@ -129,16 +129,14 @@ static int open_s(stream_t *stream,int mode) } ret2=vcd_get_track_end(vcd,1); if(ret2<0){ - mp_msg(MSGT_OPEN, MSGL_ERR, "%s (get)\n", - mp_gtext("Error selecting VCD track.")); + mp_msg(MSGT_OPEN, MSGL_ERR, "%s (get)\n", "Error selecting VCD track."); close(f); free(vcd); return STREAM_ERROR; } ret=vcd_seek_to_track(vcd,1); if(ret<0){ - mp_msg(MSGT_OPEN, MSGL_ERR, "%s (seek)\n", - mp_gtext("Error selecting VCD track.")); + mp_msg(MSGT_OPEN, MSGL_ERR, "%s (seek)\n", "Error selecting VCD track."); close(f); free(vcd); return STREAM_ERROR; |