[Gambas-user] Embedding VLC movie window immediately... without a 2 second pause

Lee McPherson leemcpherson at ...626...
Thu Mar 27 18:28:19 CET 2008


Ok, well, I set a timer in the form and enabled it for 100ms right at 
the end of form_open.  I then set a breakpoint at the  first line of the 
timer  control.   So I have the Debug Timer results for open a VLC movie 
using the command line embedded within a GAMBAS form. 

Debug timer is a VERY useful tool!  I found out I'm an idiot and didn't 
read the class I was using to get the movie player window's key.  There 
was a 2 second delay built in if it couldn't find it immediately.  I 
made it much smaller and now it takes only about 0.4 seconds for the VLC 
window to open and get embedded into the file.  That is perfectly 
acceptable now... i'm probably limited by how quickly VLC runs now.

Thanks so much to everyone on this list!

-Lee




More information about the User mailing list