rtpsession: don't unref buffer twice
Cleaning the packet info will already unref the buffer. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=715078
This commit is contained in:
parent
b3b89dfec1
commit
e8edecc56e
@ -1833,7 +1833,6 @@ rtp_session_process_rtp (RTPSession * sess, GstBuffer * buffer,
|
|||||||
collision:
|
collision:
|
||||||
{
|
{
|
||||||
RTP_SESSION_UNLOCK (sess);
|
RTP_SESSION_UNLOCK (sess);
|
||||||
gst_buffer_unref (buffer);
|
|
||||||
clean_packet_info (&pinfo);
|
clean_packet_info (&pinfo);
|
||||||
GST_DEBUG ("ignoring packet because its collisioning");
|
GST_DEBUG ("ignoring packet because its collisioning");
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user