Commit a905ef23 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

rtspsrc: do not leak timeout message

parent 63115fe7
......@@ -5169,10 +5169,10 @@ gst_rtspsrc_handle_message (GstBin * bin, GstMessage * message)
/* we only act on the first udp timeout message, others are irrelevant
* and can be ignored. */
if (ignore_timeout)
gst_message_unref (message);
else
if (!ignore_timeout)
gst_rtspsrc_loop_send_cmd (rtspsrc, CMD_RECONNECT, TRUE);
/* eat and free */
gst_message_unref (message);
return;
}
GST_BIN_CLASS (parent_class)->handle_message (bin, message);
......
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