video: Remove useless code calling find_video_with_surface() in _e_video_layer_get_di... 49/182649/2
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 25 Jun 2018 11:52:08 +0000 (20:52 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 27 Jun 2018 02:39:40 +0000 (02:39 +0000)
Change-Id: I889338a4d64b388eb51a403759e2645270d34ad1

src/bin/e_comp_wl_video.c

index 33ef09b50aa549401fb219b88c01aa408afd2a3d..e87dfe23fef931f47f597003342efa95bd5f710d 100644 (file)
@@ -632,14 +632,10 @@ _e_video_layer_get_displaying_buffer(E_Video_Layer *layer, int *tdm_error)
    if (_is_video_hwc_windows(layer->video))
      {
         E_Hwc_Window *hwc_window;
-        E_Video *video;
 
         hwc_window = layer->e_client->hwc_window;
         EINA_SAFETY_ON_NULL_RETURN_VAL(hwc_window, NULL);
 
-        video = find_video_with_surface(layer->e_client->comp_data->surface);
-        EINA_SAFETY_ON_NULL_RETURN_VAL(video, EINA_FALSE);
-
         if (tdm_error)
           *tdm_error = TDM_ERROR_NONE;