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

rtspsrc: simplify internal src event debug logging

... which avoids almost superfluous obtaining of rtsp element.
parent 018852dd
......@@ -2016,13 +2016,9 @@ gst_rtspsrc_handle_src_event (GstPad * pad, GstEvent * event)
static gboolean
gst_rtspsrc_handle_internal_src_event (GstPad * pad, GstEvent * event)
{
GstRTSPSrc *src;
gboolean res;
src = GST_RTSPSRC_CAST (gst_pad_get_element_private (pad));
GST_DEBUG_OBJECT (src, "pad %s:%s received event %s",
GST_DEBUG_PAD_NAME (pad), GST_EVENT_TYPE_NAME (event));
GST_DEBUG_OBJECT (pad, "received event %s", GST_EVENT_TYPE_NAME (event));
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:
......
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