Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/lib


Modified Files:
        emotion_smart.c 


Log Message:


moved dome things off into threads of their own to minimise main ap impact

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/emotion/src/lib/emotion_smart.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- emotion_smart.c     24 Jun 2004 10:55:43 -0000      1.3
+++ emotion_smart.c     18 Jul 2004 08:04:41 -0000      1.4
@@ -163,12 +163,16 @@
    sd->pos = 0;
    sd->seek_pos = 0;
    sd->len = 0;
-   if (file)
+   if ((file) && (strlen(file) > 0))
      {
        int w, h;
        
        sd->file = strdup(file);
-       if (sd->video) sd->module->file_close(sd->video);
+       if (sd->video)
+         {
+            sd->module->file_close(sd->video);
+            evas_object_image_size_set(sd->obj, 0, 0);
+         }
        if (sd->module) _emotion_module_close(sd->module);
        sd->module = _emotion_module_open("emotion_decoder_xine.so");
        if (!sd->module) return;




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to