mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +00:00
validate:monitor: Only get_name on GstObject
GObject don't have such method! Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/235>
This commit is contained in:
parent
1fd8c1501a
commit
2247cdadca
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ gst_validate_monitor_set_property (GObject * object, guint prop_id,
|
|||
g_assert (gst_validate_monitor_get_target (monitor) == NULL);
|
||||
g_weak_ref_init (&monitor->target, target);
|
||||
|
||||
if (target)
|
||||
if (GST_IS_OBJECT (target))
|
||||
gst_validate_reporter_set_name (GST_VALIDATE_REPORTER (monitor),
|
||||
gst_object_get_name (target));
|
||||
|
||||
|
|
Loading…
Reference in a new issue