Commit 2c1d8433 authored by Alicia Boya García's avatar Alicia Boya García
Browse files

validate: fix bug monitor subscriptions on pads by name

gst_validate_override_register_by_name() was not working when using a
pad name because by the time gst_validate_pad_monitor_do_setup()
was called to set the name of the monitor it was too late for overrides
to have any effect.

Patch written by Thibault.
parent 3cc916e9
Pipeline #8609 passed with stages
in 2 minutes and 50 seconds
......@@ -210,8 +210,8 @@ gst_validate_monitor_constructor (GType type, guint n_construct_params,
}
}
gst_validate_override_registry_attach_overrides (monitor);
gst_validate_monitor_setup (monitor);
gst_validate_override_registry_attach_overrides (monitor);
target = gst_validate_monitor_get_target (monitor);
g_object_set_data ((GObject *) target, "validate-monitor", monitor);
......
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