gst/rtp/gstrtpmp4vpay.c: Use correct unref function for buffers. #488844.
authorPeter Kjellerstedt <pkj@axis.com>
Mon, 22 Oct 2007 09:53:16 +0000 (09:53 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 22 Oct 2007 09:53:16 +0000 (09:53 +0000)
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_finalize):
Use correct unref function for buffers. #488844.

ChangeLog
gst/rtp/gstrtpmp4vpay.c

index 753f4f1..eaed420 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
+
+       Patch by: Peter Kjellerstedt <pkj at axis com>
+
+       * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_finalize):
+       Use correct unref function for buffers. #488844.
+
 2007-10-19  Stefan Kost  <ensonic@users.sf.net>
 
        * gst/avi/gstavimux.c:
index 819f409..942d3b8 100644 (file)
@@ -183,7 +183,7 @@ gst_rtp_mp4v_pay_finalize (GObject * object)
   rtpmp4vpay = GST_RTP_MP4V_PAY (object);
 
   if (rtpmp4vpay->config) {
-    g_object_unref (rtpmp4vpay->config);
+    gst_buffer_unref (rtpmp4vpay->config);
     rtpmp4vpay->config = NULL;
   }
   g_object_unref (rtpmp4vpay->adapter);