summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gst/rtpmanager/rtpsource.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index faba0302..bf3b99aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-24 David Schleef <ds@schleef.org>
+
+ Patch by: Olivier Crete <tester@tester.ca>
+
+ * gst/rtpmanager/rtpsource.c: Fix unref of buffer using the
+ wrong function. Fixes #511920
+
2008-01-24 Stefan Kost <ensonic@users.sf.net>
* docs/plugins/Makefile.am:
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;
}