diff options
author | wm4 <wm4@nowhere> | 2013-12-21 21:49:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 22:13:04 +0100 |
commit | eef36f03ea76f97c10075ae4b08e1e53e5195479 (patch) | |
tree | 9bafeac9944e717a2defe9e6f8fc753d3cdb9964 /stream | |
parent | eba5d025d2ba682de358b792dd15e80529d6a0f1 (diff) | |
download | mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.bz2 mpv-eef36f03ea76f97c10075ae4b08e1e53e5195479.tar.xz |
msg: rename mp_msg_log -> mp_msg
Same for companion functions.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/ai_alsa1x.c | 4 | ||||
-rw-r--r-- | stream/stream_dvd.c | 4 |
2 files changed, 4 insertions, 4 deletions
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 |