pipeline: Use an object as first argument to GST_WARNING_OBJECT
authorEdward Hervey <bilboed@bilboed.com>
Fri, 3 Dec 2010 10:27:17 +0000 (11:27 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 3 Dec 2010 11:03:43 +0000 (12:03 +0100)
gst/gstpipeline.c

index 7dd8ba8..1458bca 100644 (file)
@@ -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));