video: Remove obsolete commented out lines. 25/204525/1 submit/tizen/20190424.070125
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 23 Apr 2019 05:09:46 +0000 (14:09 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Wed, 24 Apr 2019 06:34:38 +0000 (15:34 +0900)
Change-Id: I30411dd16f42873a33b44b75dd2cb16faf1d6889

src/bin/video/iface/e_video_hwc.c
src/bin/video/iface/e_video_hwc_planes.c

index 3f3013820e17900e27135ad9c220cfb4b5b2d9d2..95ec894accbc3fcd68c9d89639623a699b61b93e 100644 (file)
@@ -1568,19 +1568,7 @@ _e_video_hwc_show(E_Video_Hwc *evh)
    /* if stand_alone is true, not show */
    if ((ec->comp_data->sub.data && ec->comp_data->sub.data->stand_alone) ||
        (ec->comp_data->sub.data && evh->follow_topmost_visibility))
-     {
-#if 0 //mute off is managed by client. mute off in server made many issues.
-        if (!evhp->layer) return;
-
-        if (evhp->tdm_mute_id != -1)
-          {
-             Tdm_Prop_Value prop = {.id = evhp->tdm_mute_id, .value.u32 = 0};
-             VIN("video surface show. mute off (ec:%p)", evhp->ec);
-             _e_video_layer_set_property(evhp->layer, &prop);
-          }
-#endif
-        return;
-     }
+     return;
 
    /* FIXME It seems unnecessary. */
    if (evh->hwc_policy == E_HWC_POLICY_PLANES)
index 88812b11b5bdd7729b0a8c292094edf19911bb29..8cf3c36f56fb99706570faad5ab18b9c4f06ab1d 100644 (file)
@@ -583,10 +583,7 @@ _e_video_hwc_planes_available_properties_get(E_Video_Hwc_Planes *evhp,
    tlayer = evhp->tdm.layer;
    /* if layer wasn't set then get an any available tdm_layer */
    if (tlayer == NULL)
-     {
-        /* tlayer = e_output_video_available_tdm_layer_get(evhp->e_output); */
-        tlayer = _e_video_hwc_planes_available_video_tdm_layer_get(evhp->tdm.output);
-     }
+     tlayer = _e_video_hwc_planes_available_video_tdm_layer_get(evhp->tdm.output);
    ret = tdm_layer_get_available_properties(tlayer, props, count);
 
    return ret;
@@ -654,11 +651,6 @@ _e_video_hwc_planes_destroy(E_Video_Hwc_Planes *evhp)
      }
 
    free(evhp);
-
-#if 0
-   if (e_comp_wl_video_buffer_list_length() > 0)
-     e_comp_wl_video_buffer_list_print(NULL);
-#endif
 }
 
 static Eina_Bool