[MPlayer-dev-eng] [PATCH] threaded vo_directx
Zuxy Meng
zuxy.meng at gmail.com
Sun Oct 28 14:45:29 CET 2007
Hi,
2007/10/28, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hello,
> On Sun, Oct 28, 2007 at 07:52:29PM +0700, Vladimir Voroshilov wrote:
> > 2007/10/28, Zuxy Meng <zuxy.meng at gmail.com>:
> > > It has long been a problem in Windows that when you press a mouse
> > > button on the caption, mplayer's playback stalls until you release it.
> > > I've fixed the problem by put the window procedure into another thread
> > > so that playback can continue even if you hold your mouse or move the
> > > window around the desktop.
> > >
> > > Comments?
> >
> > (Just to be sure) Are mplayer's input fifo operations thread-safe?
> > After applying patch input key can be putted into fifo by one thread
> > (vo_directx) but popped out from there by another (main thread).
>
> Most likely not. In addition this change might complicate extending
> vo_directx (and actually are you sure it does not misuse the Windows
> API?) since AFAIK you can't do any operations at all on Windows that
> were created by a different thread.
That depends. Many operations are allowed once you get the window's handle.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the MPlayer-dev-eng
mailing list