From 5a4c09f7911e2c0867a07f08948bc597d624c3ce Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 5 Nov 2015 12:17:00 +0000 Subject: [PATCH] resindvd: use GST_STIME_FORMAT for GstClockTimeDiff No need to use G_GINT64_FORMAT for potentially negative values of GstClockTimeDiff. Since 1.6 these can be handled with GST_STIME_FORMAT. Plus it creates more readable values in the logs. https://bugzilla.gnome.org/show_bug.cgi?id=757480 --- ext/resindvd/resindvdsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index 3335903332..505302b8ce 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -969,9 +969,9 @@ rsn_dvdsrc_step (resinDvdSrc * src, gboolean have_dvd_lock) } GST_LOG_OBJECT (src, "NAV packet start TS %" GST_TIME_FORMAT - " end TS %" GST_TIME_FORMAT " base %" G_GINT64_FORMAT " %s", + " end TS %" GST_TIME_FORMAT " base %" GST_STIME_FORMAT " %s", GST_TIME_ARGS (new_start_ptm), GST_TIME_ARGS (new_end_ptm), - new_base_time, discont ? "discont" : ""); + GST_STIME_ARGS (new_base_time), discont ? "discont" : ""); #if 0 g_print ("NAV packet start TS %" GST_TIME_FORMAT