tizenwlsink : GST_TYPE_WL_DISPLAY type init for camera TCT 52/169452/2 submit/tizen/20180207.054743 submit/tizen/20180207.063706
authorHyunil <hyunil46.park@samsung.com>
Wed, 7 Feb 2018 02:26:34 +0000 (11:26 +0900)
committerHyunil <hyunil46.park@samsung.com>
Wed, 7 Feb 2018 05:13:34 +0000 (14:13 +0900)
Change-Id: I59ed41e3465da4fd52e176cff1f9e9ca5d6ec2a8
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
tizenwlsink/src/wldisplay.c

index b1c8e27..738a759 100644 (file)
@@ -365,11 +365,20 @@ gst_wl_display_new_existing (struct wl_display * display,
 {
   GstWlDisplay *self;
   GError *err = NULL;
+#ifdef TIZEN_FEATURE_WLSINK_ENHANCEMENT
+  GObject *temp = NULL;
+#endif
   gint i;
   FUNCTION;
 
   g_return_val_if_fail (display != NULL, NULL);
-
+#ifdef TIZEN_FEATURE_WLSINK_ENHANCEMENT
+  temp = g_type_class_ref (GST_TYPE_WL_DISPLAY);
+  if (temp) {
+    g_type_class_unref(temp);
+    GST_WARNING ("GST_TYPE_WL_DISPLAY type init for Camera TCT");
+  }
+#endif
   self = g_object_new (GST_TYPE_WL_DISPLAY, NULL);
 #ifdef TIZEN_FEATURE_WLSINK_ENHANCEMENT
   if (self == NULL) {