diff options
author | Olivier Crete <tester@tester.ca> | 2008-01-25 01:44:27 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-01-25 01:44:27 +0000 |
commit | f1e76e386bcaad9db63b860f599514f297958324 (patch) | |
tree | e388f7f8afdecd9a34a5b1224e93ce6e714edd0e | |
parent | 0f0a72f78b719123cb593e3adaf5e99f4856298f (diff) | |
download | gst-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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/rtpmanager/rtpsource.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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; } |