glimagesink: Don't call set_property helper in get_property
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 15 Feb 2019 21:45:09 +0000 (16:45 -0500)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Fri, 15 Feb 2019 21:47:56 +0000 (21:47 +0000)
ext/gl/gstglimagesink.c

index 3fcdced..e56da14 100644 (file)
@@ -893,8 +893,7 @@ gst_glimage_sink_get_property (GObject * object, guint prop_id,
       g_value_set_enum (value, glimage_sink->mview_downmix_mode);
       break;
     default:
-      if (!gst_video_overlay_set_property (object, PROP_LAST, prop_id, value))
-        G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;
   }
 }