gst/rtp/gstrtpmp4vpay.c: Use correct unref function for buffers. #488844.

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.
This commit is contained in:
Peter Kjellerstedt 2007-10-22 09:53:16 +00:00 committed by Wim Taymans
parent cc3966d7a3
commit 68bf754d0e
2 changed files with 8 additions and 1 deletions

View file

@ -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> 2007-10-19 Stefan Kost <ensonic@users.sf.net>
* gst/avi/gstavimux.c: * gst/avi/gstavimux.c:

View file

@ -183,7 +183,7 @@ gst_rtp_mp4v_pay_finalize (GObject * object)
rtpmp4vpay = GST_RTP_MP4V_PAY (object); rtpmp4vpay = GST_RTP_MP4V_PAY (object);
if (rtpmp4vpay->config) { if (rtpmp4vpay->config) {
g_object_unref (rtpmp4vpay->config); gst_buffer_unref (rtpmp4vpay->config);
rtpmp4vpay->config = NULL; rtpmp4vpay->config = NULL;
} }
g_object_unref (rtpmp4vpay->adapter); g_object_unref (rtpmp4vpay->adapter);