validate: pad-monitor: Fix remaining pad functions data handling

That case was missed in a571753089

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7477>
This commit is contained in:
Thibault Saunier 2024-09-09 11:07:48 -03:00 committed by GStreamer Marge Bot
parent f4af1f6e62
commit 9f898f839c

View file

@ -3022,7 +3022,8 @@ gst_validate_pad_monitor_do_setup (GstValidateMonitor * monitor)
gst_pad_set_event_function_full (pad, gst_pad_set_event_function_full (pad,
gst_validate_pad_monitor_sink_event_func, eventdata, eventnotify); gst_validate_pad_monitor_sink_event_func, eventdata, eventnotify);
} else { } else {
gst_pad_set_event_function (pad, gst_validate_pad_monitor_src_event_func); gst_pad_set_event_function_full (pad,
gst_validate_pad_monitor_src_event_func, eventdata, eventnotify);
/* add buffer/event probes */ /* add buffer/event probes */
pad_monitor->pad_probe_id = pad_monitor->pad_probe_id =