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
This commit is contained in:
Olivier Crete 2008-01-25 01:44:27 +00:00 committed by Tim-Philipp Müller
parent 6e6c59a198
commit 0369f87020

View file

@ -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;
}