Hi,

I am currently using the agar GUI to add buttons to FFplay. To do this, I 
constructed another thread (FFplay is multi-threaded), and ran the event loop 
from there. 
However, the loop I constructed halts the other threads. The buttons 
are displayed and work when clicked on, however the video does not play. I have 
narrowed it down to the event processing, which seems to halt the other 
threads. 
The thread is properly constructed, as removing the event handling portion of 
the button thread allows FFplay to display the buttons as well as play the 
video (sans button events working). 

My question is, is there something I should be explicit about when dealing with 
Agar in a multi-threaded application? Could it be that the SDL event handling 
in 
FFplay's event loop has problems with AG event handling running concurrently? 
The FFplay event loop is responsible for handling the video refresh calls, 
which 
could be why.

Regards,
Austin

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to