Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/lib


Modified Files:
        emotion_smart.c 


Log Message:


1. create new xine_t per video - xine has a single internal clock so pause 1
video - all pause as clock stops. xine issue - but this works around it.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/emotion/src/lib/emotion_smart.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- emotion_smart.c     22 Jul 2004 04:13:28 -0000      1.6
+++ emotion_smart.c     23 Jul 2004 03:15:30 -0000      1.7
@@ -168,9 +168,10 @@
        int w, h;
        
        sd->file = strdup(file);
-       if (sd->video)
+       if ((sd->video) && (sd->module))
          {
             sd->module->file_close(sd->video);
+            sd->video = NULL;
             evas_object_image_size_set(sd->obj, 0, 0);
          }
        if (sd->module) _emotion_module_close(sd->module);
@@ -191,6 +192,7 @@
        if (sd->video)
          {
             sd->module->file_close(sd->video);
+            sd->video = NULL;
             evas_object_image_size_set(sd->obj, 0, 0);
          }
        if (sd->module) _emotion_module_close(sd->module);




-------------------------------------------------------
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