e_plane: override_del and reset resrved video flag when unset video 59/137459/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 6 Jul 2017 04:42:06 +0000 (13:42 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 11 Jul 2017 08:44:45 +0000 (08:44 +0000)
Change-Id: I685f0b6ac476f793c6bd0e4c2a1609b79e364c5f

src/bin/e_plane.c

index bbdda8ab554c64516574d8feccd06ef5850c6f2a..94143d6e32b5c002ac64cab46f312ec3d1adaade 100644 (file)
@@ -2101,6 +2101,12 @@ e_plane_video_set(E_Plane *plane, Eina_Bool set, Eina_Bool *wait)
         default_fb = e_output_default_fb_target_get(output);
         EINA_SAFETY_ON_NULL_RETURN_VAL(default_fb, EINA_FALSE);
 
+        if (plane->reserved_video)
+          {
+             plane->reserved_video = EINA_FALSE;
+             e_comp_override_del();
+          }
+
         if (default_fb->zpos > plane->zpos)
           {
              plane->is_video = EINA_FALSE;