summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <tester@tester.ca>2008-01-25 01:44:27 +0000
committerDavid Schleef <ds@schleef.org>2008-01-25 01:44:27 +0000
commitf1e76e386bcaad9db63b860f599514f297958324 (patch)
treee388f7f8afdecd9a34a5b1224e93ce6e714edd0e /gst
parent0f0a72f78b719123cb593e3adaf5e99f4856298f (diff)
downloadgst-plugins-bad-f1e76e386bcaad9db63b860f599514f297958324.tar.gz
gst-plugins-bad-f1e76e386bcaad9db63b860f599514f297958324.tar.bz2
gst-plugins-bad-f1e76e386bcaad9db63b860f599514f297958324.zip
gst/rtpmanager/rtpsource.c: Fix unref of buffer using the wrong function. Fixes #511920
Original commit message from CVS: Patch by: Olivier Crete <tester@tester.ca> * gst/rtpmanager/rtpsource.c: Fix unref of buffer using the wrong function. Fixes #511920
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/rtpsource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c
index c48c8d0b..1938324f 100644
--- a/gst/rtpmanager/rtpsource.c
+++ b/gst/rtpmanager/rtpsource.c
@@ -878,7 +878,7 @@ rtp_source_process_rtp (RTPSource * src, GstBuffer * buffer,
/* remove packets from queue if there are too many */
while (g_queue_get_length (src->packets) > RTP_MAX_PROBATION_LEN) {
q = g_queue_pop_head (src->packets);
- gst_object_unref (q);
+ gst_buffer_unref (q);
}
goto done;
}