Hi,

I'm using a lot emotion with the gstreamer backend to play some network stream 
and display them in my app. And I'm facing something really bad for the user 
experience when gstreamer try to open a bad network stream (because the 
network is down, the stream is not available anymore, ...). What happens is 
that emotion_object_file_set() blocks.
In fact, emotion blocks because gstreamer calls connect() and there is no 
response from the network device. 
This is bad because my app is frozen for a long time.

There is one solution to avoid this, it's using a thread with pipes like the 
xine backend. I know raster is not a big fan of threads, so I'm wondering if 
there isn't any other way to avoid gstreamer to block...

If there isn't a better approach, I will do it with a thread.

Any good idea?

Regards,

-- 
------------------------
Raoul Hecky


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to