diff options
author | Olivier Crete <tester@tester.ca> | 2008-01-25 01:44:27 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-11 02:30:33 +0100 |
commit | 0369f87020824397c7b176a139a63cc708f91cf5 (patch) | |
tree | 318039cfee08d1a4f7f3306b7ad6b51660e714fc /gst/rtpmanager/rtpsource.c | |
parent | 6e6c59a198d7c04c54cbf990b7f1491042c05c7f (diff) |
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/rtpmanager/rtpsource.c')
-rw-r--r-- | gst/rtpmanager/rtpsource.c | 2 |
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; } |