mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
0f0a72f78b
commit
f1e76e386b
2 changed files with 8 additions and 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>
|
2008-01-24 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/plugins/Makefile.am:
|
* docs/plugins/Makefile.am:
|
||||||
|
|
|
@ -878,7 +878,7 @@ rtp_source_process_rtp (RTPSource * src, GstBuffer * buffer,
|
||||||
/* remove packets from queue if there are too many */
|
/* remove packets from queue if there are too many */
|
||||||
while (g_queue_get_length (src->packets) > RTP_MAX_PROBATION_LEN) {
|
while (g_queue_get_length (src->packets) > RTP_MAX_PROBATION_LEN) {
|
||||||
q = g_queue_pop_head (src->packets);
|
q = g_queue_pop_head (src->packets);
|
||||||
gst_object_unref (q);
|
gst_buffer_unref (q);
|
||||||
}
|
}
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue