ringbuffer: store info so we can debug it
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 28 Sep 2011 14:07:53 +0000 (16:07 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 28 Sep 2011 14:07:53 +0000 (16:07 +0200)
gst-libs/gst/audio/gstringbuffer.c

index 53dfa71..ebbaf64 100644 (file)
@@ -282,11 +282,11 @@ gst_ring_buffer_parse_caps (GstRingBufferSpec * spec, GstCaps * caps)
    * not changed, we assume the same value as segtotal */
   spec->seglatency = -1;
 
+  spec->info = info;
+
   gst_ring_buffer_debug_spec_caps (spec);
   gst_ring_buffer_debug_spec_buff (spec);
 
-  spec->info = info;
-
   return TRUE;
 
   /* ERRORS */