[vlc-commits] clock: use msg_Err()

Rémi Denis-Courmont git at videolan.org
Sun Feb 8 13:57:21 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb  8 14:11:58 2015 +0200| [b6e8d39f2643b7be4b80d43a0ac0313ab0e29916] | committer: Rémi Denis-Courmont

clock: use msg_Err()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6e8d39f2643b7be4b80d43a0ac0313ab0e29916
---

 src/input/clock.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/input/clock.c b/src/input/clock.c
index 352e8f5..e1cc0fc 100644
--- a/src/input/clock.c
+++ b/src/input/clock.c
@@ -417,8 +417,8 @@ int input_clock_ConvertTS( vlc_object_t *p_object, input_clock_t *cl,
     if( !cl->b_has_reference )
     {
         vlc_mutex_unlock( &cl->lock );
-        vlc_Log(p_object, VLC_MSG_ERR, "clock",
-            "Timestamp conversion failed for %"PRId64": no reference clock", *pi_ts0);
+        msg_Err(p_object, "Timestamp conversion failed for %"PRId64": "
+                "no reference clock", *pi_ts0);
         *pi_ts0 = VLC_TS_INVALID;
         if( pi_ts1 )
             *pi_ts1 = VLC_TS_INVALID;
@@ -450,7 +450,7 @@ int input_clock_ConvertTS( vlc_object_t *p_object, input_clock_t *cl,
     /* Check ts validity */
     if (i_ts_bound != INT64_MAX && *pi_ts0 > VLC_TS_INVALID) {
         if (*pi_ts0 >= mdate() + i_ts_delay + i_ts_buffering + i_ts_bound) {
-            vlc_Log(p_object, VLC_MSG_ERR, "clock",
+            msg_Err(p_object,
                 "Timestamp conversion failed (delay %"PRId64", buffering "
                 "%"PRId64", bound %"PRId64")",
                 i_ts_delay, i_ts_buffering, i_ts_bound);



More information about the vlc-commits mailing list