raster pushed a commit to branch master.

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

commit d0668f7e75b5444789a48e60ffa5846288733b80
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Nov 15 10:46:51 2015 +0900

    rage - fix videothumb using uniittied buffer for key
---
 src/bin/videothumb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/videothumb.c b/src/bin/videothumb.c
index 0ac3dd7..b29670d 100644
--- a/src/bin/videothumb.c
+++ b/src/bin/videothumb.c
@@ -283,7 +283,8 @@ _videothumb_image_load(Evas_Object *obj)
    evas_object_event_callback_add(sd->o_img2,
                                   EVAS_CALLBACK_IMAGE_PRELOADED,
                                   _cb_preload, obj);
-   evas_object_image_file_set(sd->o_img2, sd->realfile, buf);
+   evas_object_image_file_set(sd->o_img2, sd->realfile,
+                              sd->poster ? NULL : buf);
    evas_object_image_size_get(sd->o_img2, &(sd->iw), &(sd->ih));
    _smart_calculate(obj);
    if (sd->iw > 0)

-- 


Reply via email to