video: make a function _e_video_hwc_windows_iface_property_get() work.
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 10 Jan 2019 04:59:07 +0000 (13:59 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 12 Apr 2019 10:00:22 +0000 (19:00 +0900)
Change-Id: I3670cd4820e631b99034079b8c8e1e1d7de368c7

src/bin/video/iface/e_video_hwc_windows.c

index 8fb85b8f7cb42b15d53bad3ecaa0818b4dbf66fb..8334367258d640e86fff22fc8fccbfd5c3ddc1d0 100644 (file)
@@ -1874,16 +1874,15 @@ _e_video_hwc_windows_iface_disallowed_property(E_Video_Comp_Iface *iface)
 static Eina_Bool
 _e_video_hwc_windows_iface_property_get(E_Video_Comp_Iface *iface, unsigned int id, tdm_value *value)
 {
-#if 0
    tdm_error ret;
 
    IFACE_ENTRY;
 
-   ret = tdm_hwc_window_get_property(evhw->hwc_window, id, value);
+   ret = tdm_hwc_window_get_property(evhw->hwc_window->thwc_window, id, value);
    if (ret != TDM_ERROR_NONE)
      return EINA_FALSE;
-#endif
-   return EINA_FALSE;
+
+   return EINA_TRUE;
 }
 
 static Eina_Bool