mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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.
This commit is contained in:
parent
cd4c17031b
commit
f8d15b1e56
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue