From eef36f03ea76f97c10075ae4b08e1e53e5195479 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 21:49:13 +0100 Subject: msg: rename mp_msg_log -> mp_msg Same for companion functions. --- stream/ai_alsa1x.c | 4 ++-- stream/stream_dvd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'stream') diff --git a/stream/ai_alsa1x.c b/stream/ai_alsa1x.c index 8360c88100..c1a7199c71 100644 --- a/stream/ai_alsa1x.c +++ b/stream/ai_alsa1x.c @@ -118,7 +118,7 @@ int ai_alsa_setup(audio_in_t *ai) return -1; } - if (mp_msg_test_log(ai->log, MSGL_V)) { + if (mp_msg_test(ai->log, MSGL_V)) { snd_pcm_dump(ai->alsa.handle, ai->alsa.log); } @@ -181,7 +181,7 @@ int ai_alsa_xrun(audio_in_t *ai) timersub(&now, &tstamp, &diff); MP_ERR(ai, "ALSA xrun!!! (at least %.3f ms long)\n", diff.tv_sec * 1000 + diff.tv_usec / 1000.0); - if (mp_msg_test_log(ai->log, MSGL_V)) { + if (mp_msg_test(ai->log, MSGL_V)) { MP_ERR(ai, "ALSA Status:\n"); snd_pcm_status_dump(status, ai->alsa.log); } diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 92af9f969b..27b539901d 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -811,7 +811,7 @@ static int open_s(stream_t *stream, int mode) return STREAM_UNSUPPORTED; } tt_srpt = vmg_file->tt_srpt; - if (mp_msg_test_log(stream->log, MSGL_SMODE)) + if (mp_msg_test(stream->log, MSGL_SMODE)) { int title_no; ///< title number MP_SMODE(stream, "ID_DVD_TITLES=%d\n", tt_srpt->nr_of_srpts); @@ -821,7 +821,7 @@ static int open_s(stream_t *stream, int mode) MP_SMODE(stream, "ID_DVD_TITLE_%d_ANGLES=%d\n", title_no + 1, tt_srpt->title[title_no].nr_of_angles); } } - if (mp_msg_test_log(stream->log, MSGL_SMODE)) + if (mp_msg_test(stream->log, MSGL_SMODE)) { char volid[32]; unsigned char discid [16]; ///< disk ID, a 128 bit MD5 sum -- cgit v1.2.3