mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
gst/rtpmanager/gstrtpjitterbuffer.c: Don't unref the popped buffer when we don't have ownership.
Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_loop): Don't unref the popped buffer when we don't have ownership. Fixes #507020.
This commit is contained in:
parent
655b6b8194
commit
c3ccc83071
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/rtpmanager/gstrtpjitterbuffer.c:
|
||||||
|
(gst_rtp_jitter_buffer_loop):
|
||||||
|
Don't unref the popped buffer when we don't have ownership.
|
||||||
|
Fixes #507020.
|
||||||
|
|
||||||
2008-01-03 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
2008-01-03 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||||
|
|
||||||
* gst/mpegtsparse/Makefile.am:
|
* gst/mpegtsparse/Makefile.am:
|
||||||
|
|
|
@ -971,7 +971,7 @@ static void
|
||||||
gst_rtp_jitter_buffer_loop (GstRtpJitterBuffer * jitterbuffer)
|
gst_rtp_jitter_buffer_loop (GstRtpJitterBuffer * jitterbuffer)
|
||||||
{
|
{
|
||||||
GstRtpJitterBufferPrivate *priv;
|
GstRtpJitterBufferPrivate *priv;
|
||||||
GstBuffer *outbuf = NULL;
|
GstBuffer *outbuf;
|
||||||
GstFlowReturn result;
|
GstFlowReturn result;
|
||||||
guint16 seqnum;
|
guint16 seqnum;
|
||||||
GstClockTime timestamp, out_time;
|
GstClockTime timestamp, out_time;
|
||||||
|
@ -1152,8 +1152,6 @@ flushing:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (jitterbuffer, "we are flushing");
|
GST_DEBUG_OBJECT (jitterbuffer, "we are flushing");
|
||||||
gst_pad_pause_task (priv->srcpad);
|
gst_pad_pause_task (priv->srcpad);
|
||||||
if (outbuf)
|
|
||||||
gst_buffer_unref (outbuf);
|
|
||||||
JBUF_UNLOCK (priv);
|
JBUF_UNLOCK (priv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue