[MPlayer-cygwin] [PATCH] threaded window proc for vo_directx
Gianluigi Tiesi
mplayer at netfarm.it
Wed Apr 30 07:12:48 CEST 2008
Hello,
this patch makes vo_directx use a separate thread for the window proc
so the decoder/player is not freezed when e.g. moving the window
without the patch window proc is executed in check_events()
I've looked a bit in the window proc to find potential threads problems
control() does internal stuffs so it should be safe
mplayer_put_key() can be called in dx window proc or in the console
they cannot send a key message together, perhaps
the window message queue should handle it
I've made some "crazy typing" test but it orks fine
Regards
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
More information about the MPlayer-cygwin
mailing list