xqtdepay: fix buffer refcount error
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 25 Jul 2012 08:08:52 +0000 (10:08 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 25 Jul 2012 08:11:29 +0000 (10:11 +0200)
After pushing the buffer into the adapter, we should not let the baseclass push
it out anymore. This error was introduced while porting to 0.11.

See https://bugzilla.gnome.org/show_bug.cgi?id=680540

gst/isomp4/gstrtpxqtdepay.c

index 3803340..5f02eaf 100644 (file)
@@ -602,6 +602,7 @@ gst_rtp_xqt_depay_process (GstRTPBaseDepayload * depayload, GstBuffer * buf)
         gst_buffer_fill (outbuf, 0, payload, payload_len);
 
         gst_adapter_push (rtpxqtdepay->adapter, outbuf);
+        outbuf = NULL;
 
         if (!m)
           goto done;