rtsp-media: Replace g_print() log line
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Mon, 26 Feb 2018 13:16:54 +0000 (14:16 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 26 Feb 2018 13:26:29 +0000 (15:26 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=793838

gst/rtsp-server/rtsp-media.c

index 8f21fa9..a1ab7aa 100644 (file)
@@ -1921,7 +1921,8 @@ appsink_pad_probe (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
     if (gst_base_sink_query_latency (GST_BASE_SINK (data->appsink), NULL, NULL,
             &min, &max)) {
       g_object_set (data->appsrc, "min-latency", min, "max-latency", max, NULL);
-      g_print ("setting latency to %lu %lu\n", min, max);
+      GST_DEBUG ("setting latency to min %" GST_TIME_FORMAT " max %"
+          GST_TIME_FORMAT, GST_TIME_ARGS (min), GST_TIME_ARGS (max));
     }
   } else if (GST_IS_QUERY (info->data)) {
     GstPad *srcpad = gst_element_get_static_pad (data->appsrc, "src");