From fc7967a0b50aa8c81982ccc7545d7226f44225a6 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 3 Dec 2010 11:27:17 +0100 Subject: [PATCH] pipeline: Use an object as first argument to GST_WARNING_OBJECT --- gst/gstpipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/gstpipeline.c b/gst/gstpipeline.c index 7dd8ba8..1458bca 100644 --- a/gst/gstpipeline.c +++ b/gst/gstpipeline.c @@ -346,7 +346,8 @@ pipeline_update_start_time (GstElement * element) if (now != GST_CLOCK_TIME_NONE) GST_ELEMENT_START_TIME (pipeline) = now - element->base_time; else - GST_WARNING_OBJECT ("Clock %s returned invalid time, can't calculate " + GST_WARNING_OBJECT (element, + "Clock %s returned invalid time, can't calculate " "running_time when going to the PAUSED state", GST_OBJECT_NAME (clock)); -- 2.7.4