[0.11] gst-plugins-base: ringbuffer: store info so we can debug it

Wim Taymans wtay at kemper.freedesktop.org
Wed Sep 28 07:08:28 PDT 2011


Module: gst-plugins-base
Branch: 0.11
Commit: ca6ebee8709542c2299e248976ceb45b11b7bd40
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=ca6ebee8709542c2299e248976ceb45b11b7bd40

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Wed Sep 28 16:07:53 2011 +0200

ringbuffer: store info so we can debug it

---

 gst-libs/gst/audio/gstringbuffer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/audio/gstringbuffer.c b/gst-libs/gst/audio/gstringbuffer.c
index 53dfa71..ebbaf64 100644
--- a/gst-libs/gst/audio/gstringbuffer.c
+++ b/gst-libs/gst/audio/gstringbuffer.c
@@ -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 */



More information about the gstreamer-commits mailing list