[vlc-commits] clock: input_clock_ConvertTS: add pcr/clock error message

Francois Cartegnie git at videolan.org
Tue Feb 3 15:28:43 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb  3 15:15:42 2015 +0100| [b0cff5cf9a08df6e1c0708581679f2211e0e35ab] | committer: Francois Cartegnie

clock: input_clock_ConvertTS: add pcr/clock error message

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

 src/input/clock.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/input/clock.c b/src/input/clock.c
index 2cae7db..352e8f5 100644
--- a/src/input/clock.c
+++ b/src/input/clock.c
@@ -417,6 +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);
         *pi_ts0 = VLC_TS_INVALID;
         if( pi_ts1 )
             *pi_ts1 = VLC_TS_INVALID;



More information about the vlc-commits mailing list