Commit f8d15b1e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

videomixer: better logging of incoming events

The pad and parent names are already logged as part of logging
the object. Instead log the full event details.
parent cd4c1703
...@@ -1896,8 +1896,8 @@ gst_videomixer2_sink_event (GstCollectPads * pads, GstCollectData * cdata, ...@@ -1896,8 +1896,8 @@ gst_videomixer2_sink_event (GstCollectPads * pads, GstCollectData * cdata,
GstVideoMixer2Pad *pad = GST_VIDEO_MIXER2_PAD (cdata->pad); GstVideoMixer2Pad *pad = GST_VIDEO_MIXER2_PAD (cdata->pad);
gboolean ret = TRUE, discard = FALSE; gboolean ret = TRUE, discard = FALSE;
GST_DEBUG_OBJECT (pad, "Got %s event on pad %s:%s", GST_DEBUG_OBJECT (pad, "Got %s event: %" GST_PTR_FORMAT,
GST_EVENT_TYPE_NAME (event), GST_DEBUG_PAD_NAME (pad)); GST_EVENT_TYPE_NAME (event), event);
switch (GST_EVENT_TYPE (event)) { switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_CAPS: case GST_EVENT_CAPS:
......
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