e_comp_wl_video: make the return value be right 42/172542/2
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 14 Mar 2018 10:15:16 +0000 (19:15 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 16 Mar 2018 01:44:41 +0000 (01:44 +0000)
Change-Id: Ibda4d97a0a701ad7c409df21c8ef788a7928bb56

src/bin/e_comp_wl_video.c

index b9f82139423189d2e4f019ce2c5e8b54d5992e8a..05176b72c2cac29d08dcc01bde6d2c3dbd32a7b8 100644 (file)
@@ -699,8 +699,8 @@ _e_video_layer_get_property(E_Video_Layer * layer, unsigned id, tdm_value *value
        if (layer->e_client->hwc_window->thwc_window)
          ret = tdm_hwc_window_video_get_property(
                       layer->e_client->hwc_window->thwc_window, id, value);
-
-       ret = TDM_ERROR_BAD_MODULE;
+       else
+         ret = TDM_ERROR_BAD_MODULE;
     }
   else
     ret = tdm_layer_get_property(layer->tdm_layer, id, value);