devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=f08d916f27b6c0d6afa31ba6b226228957888b4c

commit f08d916f27b6c0d6afa31ba6b226228957888b4c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Aug 3 14:29:37 2015 -0400

    express: Actually initialize image object for scaler
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/media.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/bin/media.c b/src/bin/media.c
index 4333463..961aa09 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -950,10 +950,10 @@ _media_add(Evas_Object *parent, const char *src, int 
mode, Media_Type type)
                                                     PACKAGE_NAME);
 
                             sd->realf = eina_stringshare_add(path);
-                            sd->url_prog_hdlr = 
+                            sd->url_prog_hdlr =
                               
ecore_event_handler_add(ECORE_CON_EVENT_URL_PROGRESS,
                                                       _media_cb_prog, obj);
-                            sd->url_compl_hdlr = 
+                            sd->url_compl_hdlr =
                               
ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE,
                                                       _media_cb_compl, obj);
                          }
@@ -994,8 +994,9 @@ _media_add(Evas_Object *parent, const char *src, int mode, 
Media_Type type)
            case MEDIA_TYPE_IMG:
              if (!sd->url) _img_type_init(obj);
              break;
-           /* case MEDIA_TYPE_SCALE: */
-           /*   break; */
+           case MEDIA_TYPE_SCALE:
+             if (!sd->url) _scale_type_init(obj);
+             break;
            /* case MEDIA_TYPE_EDJE: */
            /*   break; */
            /* case MEDIA_TYPE_MOV: */

-- 


Reply via email to