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/7491>
This commit is contained in:
Thibault Saunier 2024-09-09 11:07:48 -03:00 committed by GStreamer Marge Bot
parent 6e36389139
commit 31475f790a

View file

@ -3019,7 +3019,8 @@ gst_validate_pad_monitor_do_setup (GstValidateMonitor * monitor)
gst_pad_set_event_function_full (pad,
gst_validate_pad_monitor_sink_event_func, eventdata, eventnotify);
} 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 */
pad_monitor->pad_probe_id =