summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-18 17:12:07 +0100
committerwm4 <wm4@nowhere>2013-12-18 17:12:07 +0100
commit4ed83fe2e5f16b572b5c6a49a82f264d3f80a5e1 (patch)
treeac7e50126ebb5c92669f408bbf72d671f68db6b4 /common
parent761a0137364ba8ba3bc7f921248da57947132303 (diff)
downloadmpv-4ed83fe2e5f16b572b5c6a49a82f264d3f80a5e1.tar.bz2
mpv-4ed83fe2e5f16b572b5c6a49a82f264d3f80a5e1.tar.xz
Remove the _ macro
This was a gettext-style macro to mark strings that should be translated.
Diffstat (limited to 'common')
-rw-r--r--common/encode_lavc.c8
-rw-r--r--common/msg.h3
2 files changed, 4 insertions, 7 deletions
diff --git a/common/encode_lavc.c b/common/encode_lavc.c
index 97a45ccbbe..c061ecaeaf 100644
--- a/common/encode_lavc.c
+++ b/common/encode_lavc.c
@@ -609,7 +609,7 @@ int encode_lavc_open_codec(struct encode_lavc_context *ctx, AVStream *stream)
if (ctx->vc->capabilities & CODEC_CAP_EXPERIMENTAL) {
stream->codec->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
- mp_msg(MSGT_ENCODE, MSGL_WARN, _(
+ mp_msg(MSGT_ENCODE, MSGL_WARN,
"\n\n"
" ********************************************\n"
" **** Experimental VIDEO codec selected! ****\n"
@@ -625,7 +625,7 @@ int encode_lavc_open_codec(struct encode_lavc_context *ctx, AVStream *stream)
" Bear with it.\n"
"- Crashes.\n"
" Happens. Try varying options to work around.\n"
- "If none of this helps you, try another codec in place of %s.\n\n"),
+ "If none of this helps you, try another codec in place of %s.\n\n",
ctx->vc->name);
}
@@ -645,7 +645,7 @@ int encode_lavc_open_codec(struct encode_lavc_context *ctx, AVStream *stream)
if (ctx->ac->capabilities & CODEC_CAP_EXPERIMENTAL) {
stream->codec->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
- mp_msg(MSGT_ENCODE, MSGL_WARN, _(
+ mp_msg(MSGT_ENCODE, MSGL_WARN,
"\n\n"
" ********************************************\n"
" **** Experimental AUDIO codec selected! ****\n"
@@ -661,7 +661,7 @@ int encode_lavc_open_codec(struct encode_lavc_context *ctx, AVStream *stream)
" Bear with it.\n"
"- Crashes.\n"
" Happens. Try varying options to work around.\n"
- "If none of this helps you, try another codec in place of %s.\n\n"),
+ "If none of this helps you, try another codec in place of %s.\n\n",
ctx->ac->name);
}
ret = avcodec_open2(stream->codec, ctx->ac, &ctx->aoptions);
diff --git a/common/msg.h b/common/msg.h
index 889d99ae62..7b93d831d8 100644
--- a/common/msg.h
+++ b/common/msg.h
@@ -27,9 +27,6 @@ struct mp_log;
// defined in mplayer.c
extern int verbose;
-/* No-op macro to mark translated strings in the sources */
-#define _(x) x
-
// verbosity elevel:
/* Only messages level MSGL_FATAL-MSGL_STATUS should be translated,