raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=18b174d82228e14a005642f531540288cf0783e5

commit 18b174d82228e14a005642f531540288cf0783e5
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Dec 13 16:12:24 2015 +0900

    rage - ensure art is gone when swithing to a video after art display
---
 src/bin/video.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/video.c b/src/bin/video.c
index 1bc6c53..d8ff3ac 100644
--- a/src/bin/video.c
+++ b/src/bin/video.c
@@ -292,7 +292,7 @@ _ob_resize(Evas_Object *obj, Evas_Coord x, Evas_Coord y, 
Evas_Coord w, Evas_Coor
         sd->pih = sd->ih;
         evas_object_smart_callback_call(obj, "frame_resize", NULL);
      }
-   if ((sd->tw > 0) && (sd->th > 0))
+   if ((sd->tw > 0) && (sd->th > 0) && (sd->doart))
      {
         int iw, ih;
 
@@ -647,6 +647,7 @@ video_art_set(Evas_Object *obj, Eina_Bool art)
    Video *sd = evas_object_smart_data_get(obj);
    if (!sd) return;
    sd->doart = art;
+   if (!sd->doart) evas_object_hide(sd->o_img);
 }
 
 Eina_Bool

-- 


Reply via email to