Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/bin


Modified Files:
        emotion_test_main.c 


Log Message:


grr - i'm trying to debug why xine locks up on closing/stopping/deleting a
stream in elation but NOt in emotion when emotion_test shuts down.

ok emotion_test:

emotion_test dvd://

now once its played a bit of the dvd hit:

q

and it will quit
destroy video objects then exit main loop and exit.

now with elation:

elation

now put a dvd in the drive (or already have one) elation will detect this.
now let it play a bit of the dvd, and hit "Escape" to eject the dvd (which
will try delete thevideo object). elatiojn will get STUCK inside an emotion
call whihc get stuckin the emotion_xine module call thsat gets stuck inside
xine_stop().

now WHY. what is it about elation that triggers xine to go batty?

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/emotion/src/bin/emotion_test_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- emotion_test_main.c 28 Jun 2004 01:24:04 -0000      1.3
+++ emotion_test_main.c 19 Jul 2004 04:50:13 -0000      1.4
@@ -132,6 +132,13 @@
 main_signal_exit(void *data, int ev_type, void *ev)
 {
    ecore_main_loop_quit();
+   while (video_objs)
+     {
+       printf("del obj!\n");
+       evas_object_del(video_objs->data);
+       video_objs = evas_list_remove_list(video_objs, video_objs);
+       printf("done\n");
+     }
    return 1;
 }
 
@@ -332,6 +339,17 @@
        else
          ecore_evas_borderless_set(ecore_evas, 0);
      }
+   else if (!strcmp(ev->keyname, "q"))
+     {
+       ecore_main_loop_quit();
+       while (video_objs)
+         {
+            printf("del obj!\n");
+            evas_object_del(video_objs->data);
+            video_objs = evas_list_remove_list(video_objs, video_objs);
+            printf("done\n");
+         }
+     }
    else
      {
        printf("UNHANDLED: %s\n", ev->keyname);




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