When we have a matching NULL callback, also consider the 'callback' marshalled,
this way blocking probes with a NULL callback actually work.
"hook %lu, cookie %u with flags 0x%08x matches", hook->hook_id,
PROBE_COOKIE (hook), flags);
+ data->marshalled = TRUE;
+
callback = (GstPadProbeCallback) hook->func;
if (callback == NULL)
return;
ret = callback (pad, info, hook->data);
GST_OBJECT_LOCK (pad);
- data->marshalled = TRUE;
switch (ret) {
case GST_PAD_PROBE_REMOVE: