From 5f29712243e567d1ffcc2356654dfac00b46a5ee Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Mon, 26 Feb 2018 14:16:54 +0100 Subject: [PATCH] rtsp-media: Replace g_print() log line https://bugzilla.gnome.org/show_bug.cgi?id=793838 --- gst/rtsp-server/rtsp-media.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 8f21fa9..a1ab7aa 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -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"); -- 2.7.4