trace: always print miniobject refcount
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 14:27:26 +0000 (16:27 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 14:34:28 +0000 (16:34 +0200)
gst/gsttrace.c

index d4fd26257b66e229e90d2143dcb28af771289d64..1d28c7edd01e0e5543214874d8234ed8e9dba861 100644 (file)
@@ -165,8 +165,8 @@ gst_alloc_trace_print (const GstAllocTrace * trace)
 
         if (type == GST_TYPE_CAPS) {
           extra = gst_caps_to_string (data);
-          refcount = GST_MINI_OBJECT_REFCOUNT_VALUE (data);
         }
+        refcount = GST_MINI_OBJECT_REFCOUNT_VALUE (data);
       }
 
       if (extra) {