mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
dvbsrc: use GST_STIME_ARGS 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_ARGS. Plus it creates more readable values in the logs. https://bugzilla.gnome.org/show_bug.cgi?id=757480
This commit is contained in:
parent
1ba4d63d6a
commit
508451005d
1 changed files with 2 additions and 2 deletions
|
@ -2293,8 +2293,8 @@ gst_dvbsrc_tune_fe (GstDvbSrc * object)
|
||||||
if (object->tuning_timeout)
|
if (object->tuning_timeout)
|
||||||
elapsed_time = GST_CLOCK_DIFF (start, gst_util_get_timestamp ());
|
elapsed_time = GST_CLOCK_DIFF (start, gst_util_get_timestamp ());
|
||||||
GST_LOG_OBJECT (object,
|
GST_LOG_OBJECT (object,
|
||||||
"Tuning. Time elapsed %" G_GUINT64_FORMAT " Limit %" G_GUINT64_FORMAT,
|
"Tuning. Time elapsed %" GST_STIME_FORMAT " Limit %" G_GUINT64_FORMAT,
|
||||||
elapsed_time, object->tuning_timeout);
|
GST_STIME_ARGS (elapsed_time), object->tuning_timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(status & FE_HAS_LOCK)) {
|
if (!(status & FE_HAS_LOCK)) {
|
||||||
|
|
Loading…
Reference in a new issue