I have decided not to pursue this route. Threads are truly unsafe. For now I have given up on video playback with animations on top, in windows. Seems like a new backend is essential.
Linux is no problem though. On Tue, Jan 17, 2012 at 8:16 AM, Carsten Haitzler <[email protected]>wrote: > On Mon, 16 Jan 2012 18:41:52 +0530 HariHara Sudhan <[email protected]> said: > > > Well thanks. > > > > Yes I am loading several files from the file system. I will try eio and > > then try moving each animation to individual threads. There are 6 > > animations running on screen at any given time. > > EFL is not threadsafe. beware (eina is, some bits of ecore - specifically > ecore_pipe_write and some of the ecore_thread calls intended to be used > from a > thread etc.). always marshall your data/results back to the mainloop for > rendering and what not. > > > Thanks again. > > > > > > > > > > On Mon, Jan 16, 2012 at 12:31 AM, Cedric BAIL <[email protected]> > wrote: > > > > > On Sun, Jan 15, 2012 at 2:36 PM, HariHara Sudhan <[email protected]> > wrote: > > > > I tried a fresh install of mingw and gstreamer backend with base, > good > > > and > > > > ffmpeg plugins > > > > > > > > and everything works. > > > > > > > > While clicking though there is a split second pause in video > playback in > > > > the background. Some animations run in the foreground. > > > > > > > > Is there a way to fix this? Can we run separate thread for video > > > playback? > > > > or should I be using generic loaders? FYI generic loaders don't > install > > > on > > > > windows. I tried. > > > > > > Hum, the video decoding is already done in a background thread. The > > > setup of the rotation and its code shouldn't take that much. Maybe you > > > are doing something else that may explain why it is locking ? > > > Filesystem access or a long calc ? Try eio or ecore_thread. I don't > > > have much idea at the moment. > > > -- > > > Cedric BAIL > > > > > > > > > > ------------------------------------------------------------------------------ > > > RSA(R) Conference 2012 > > > Mar 27 - Feb 2 > > > Save $400 by Jan. 27 > > > Register now! > > > http://p.sf.net/sfu/rsa-sfdev2dev2 > > > _______________________________________________ > > > enlightenment-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > > -- > > Regards > > > > HariHaraSudhan > > > ------------------------------------------------------------------------------ > > RSA(R) Conference 2012 > > Mar 27 - Feb 2 > > Save $400 by Jan. 27 > > Register now! > > http://p.sf.net/sfu/rsa-sfdev2dev2 > > _______________________________________________ > > enlightenment-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > > -- Regards HariHaraSudhan ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
