From f1e76e386bcaad9db63b860f599514f297958324 Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Fri, 25 Jan 2008 01:44:27 +0000 Subject: gst/rtpmanager/rtpsource.c: Fix unref of buffer using the wrong function. Fixes #511920 Original commit message from CVS: Patch by: Olivier Crete * gst/rtpmanager/rtpsource.c: Fix unref of buffer using the wrong function. Fixes #511920 --- gst/rtpmanager/rtpsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') 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; } -- cgit v1.2.1