diff options
author | wm4 <wm4@nowhere> | 2014-05-24 14:06:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-24 16:17:51 +0200 |
commit | 80cbb3bac2e2b2a569d5a9a9c6dd5d4f2da04f7c (patch) | |
tree | 86f39ca8e8cd33ee908726a49e559d3a91068583 /stream | |
parent | a4d487f5b2930611bf908243510d6f0351ebcf58 (diff) | |
download | mpv-80cbb3bac2e2b2a569d5a9a9c6dd5d4f2da04f7c.tar.bz2 mpv-80cbb3bac2e2b2a569d5a9a9c6dd5d4f2da04f7c.tar.xz |
stream_lavf: remove redundant message prefixes
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_lavf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index 509aaa3e70..c8281ea389 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -144,14 +144,14 @@ static int open_f(stream_t *stream, int mode) else if (mode == STREAM_WRITE) flags = AVIO_FLAG_WRITE; else { - MP_ERR(stream, "[ffmpeg] Unknown open mode %d\n", mode); + MP_ERR(stream, "Unknown open mode %d\n", mode); res = STREAM_UNSUPPORTED; goto out; } const char *filename = stream->url; if (!filename) { - MP_ERR(stream, "[ffmpeg] No URL\n"); + MP_ERR(stream, "No URL\n"); goto out; } for (int i = 0; i < sizeof(prefix) / sizeof(prefix[0]); i++) @@ -169,7 +169,7 @@ static int open_f(stream_t *stream, int mode) talloc_free(temp); return STREAM_OK; } - MP_VERBOSE(stream, "[ffmpeg] Opening %s\n", filename); + MP_VERBOSE(stream, "Opening %s\n", filename); // Replace "mms://" with "mmsh://", so that most mms:// URLs just work. bstr b_filename = bstr0(filename); @@ -216,15 +216,15 @@ static int open_f(stream_t *stream, int mode) int err = avio_open2(&avio, filename, flags, &cb, &dict); if (err < 0) { if (err == AVERROR_PROTOCOL_NOT_FOUND) - MP_ERR(stream, "[ffmpeg] Protocol not found. Make sure" + MP_ERR(stream, "Protocol not found. Make sure" " ffmpeg/Libav is compiled with networking support.\n"); goto out; } AVDictionaryEntry *t = NULL; while ((t = av_dict_get(dict, "", t, AV_DICT_IGNORE_SUFFIX))) { - MP_VERBOSE(stream, "[ffmpeg] Could not set stream option %s=%s\n", - t->key, t->value); + MP_VERBOSE(stream, "Could not set stream option %s=%s\n", + t->key, t->value); } if (avio->av_class) { |