diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2021-01-12 15:36:05 -0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-05-14 01:59:09 +0000 |
commit | 2247cdadca6a3c43dde245408259bada5ee56428 (patch) | |
tree | 9f4dbfb9bfa35148ea8ccd86ea6ee35b405356d4 | |
parent | 1fd8c1501afd5fcacda4608a568d6188dfd70bfa (diff) |
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>
-rw-r--r-- | validate/gst/validate/gst-validate-monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validate/gst/validate/gst-validate-monitor.c b/validate/gst/validate/gst-validate-monitor.c index a6d3494..b6b75f6 100644 --- a/validate/gst/validate/gst-validate-monitor.c +++ b/validate/gst/validate/gst-validate-monitor.c @@ -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)); |