Commit f10c3f1a authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

rtpmux: fix buffer list drop check

While porting to 0.11, the check was mistakenly made constant,
instead of testing for the return value of process_buffer_locked.

Coverity 1139663
parent d9eb5f7f
......@@ -412,7 +412,6 @@ gst_rtp_mux_chain_list (GstPad * pad, GstObject * parent,
GstRTPMux *rtp_mux;
GstFlowReturn ret;
GstRTPMuxPadPrivate *padpriv;
gboolean drop = TRUE;
struct BufferListData bd;
rtp_mux = GST_RTP_MUX (parent);
......@@ -436,7 +435,7 @@ gst_rtp_mux_chain_list (GstPad * pad, GstObject * parent,
if (drop) {
if (bd.drop) {
gst_buffer_list_unref (bufferlist);
ret = GST_FLOW_OK;
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment