Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/modules/xine


Modified Files:
        emotion_xine_vo_out.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/modules/xine/emotion_xine_vo_out.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- emotion_xine_vo_out.c       18 Jun 2004 15:38:03 -0000      1.1
+++ emotion_xine_vo_out.c       19 Jul 2004 04:50:14 -0000      1.2
@@ -122,7 +122,8 @@
    cl->driver_class.dispose         = _emotion_class_dispose;
    cl->config                       = xine->config;
    cl->xine                         = xine;
-   
+
+   printf("VO class init\n");
    return cl;
 }
 
@@ -133,6 +134,7 @@
    
    cl = (Emotion_Class *)driver_class;
    free(cl);
+   printf("VO class dispose\n");
 }
 
 static char *
@@ -183,6 +185,7 @@
    dv->vo_driver.dispose              = _emotion_dispose;
    dv->vo_driver.redraw_needed        = _emotion_redraw;
    dv->ev                             = (Emotion_Xine_Video *)visual;
+   printf("VO open\n");
    return &dv->vo_driver;
 }    
 
@@ -194,6 +197,7 @@
    dv = (Emotion_Driver *)vo_driver;
 //   printf("emotion: _emotion_dispose()\n");
    free(dv);
+   printf("VO dispose\n");
 }
 
 /***************************************************************************/
@@ -319,6 +323,7 @@
    fr->vo_frame.dispose    = _emotion_frame_dispose;
    fr->vo_frame.driver     = vo_driver;
    
+   printf("VO frame alloc\n");
    return (vo_frame_t *)fr;
 }
 
@@ -328,6 +333,7 @@
    Emotion_Frame *fr;
    
    fr = (Emotion_Frame *)vo_frame;
+   printf("VO frame dispose\n");
 //   printf("emotion: _emotion_frame_dispose()\n");
    _emotion_frame_data_free(fr);  
    free(fr);




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