uridecodebin: Pass object, not GValue to debug print
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 29 Jan 2015 23:49:45 +0000 (18:49 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 17 Feb 2015 23:39:03 +0000 (18:39 -0500)
gst/playback/gsturidecodebin.c

index 3f4c058..3714553 100644 (file)
@@ -2560,7 +2560,7 @@ decoder_query_latency_fold (const GValue * item, GValue * ret, QueryFold * fold)
 
     gst_query_parse_latency (fold->query, &live, &min, &max);
 
-    GST_DEBUG_OBJECT (item,
+    GST_DEBUG_OBJECT (pad,
         "got latency min %" GST_TIME_FORMAT ", max %" GST_TIME_FORMAT
         ", live %d", GST_TIME_ARGS (min), GST_TIME_ARGS (max), live);