mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
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.
This commit is contained in:
parent
3cc916e98d
commit
2c1d8433bd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue