[MPlayer-dev-eng] [PATCH] Let vo directx survive screensaver
Zuxy Meng
zuxy.meng at gmail.com
Tue Oct 23 12:04:45 CEST 2007
Hi,
2006/12/7, Sascha Sommer <saschasommer at freenet.de>:
> Hi,
>
> On Saturday 02 December 2006 17:42, Zuxy Meng wrote:
> > Hi,
> >
> > 2006/12/3, Sascha Sommer <saschasommer at freenet.de>:
> > > Hi,
> > >
> > > get_image updates the pointers to the image in the mpi struct. The codecs
> > > will use this struct to render the image. They won't call any additional
> > > vo directx functions. With your patch they stay the same when Lock()
> > > failed. But the pointers are not valid after the directx Unlock() even if
> > > they happen to work.
> > >
> > >
> > > I'm not sure if these issues are worth fixing. I cannot even reproduce
> > > the crash but if you come up with a clean solution for this feel free to
> > > update the patch.
> >
> > Hmm, seems not too hard a task to do. Maybe I can just merge parts of
> > my patch to yours, replacing image with a dedicated static var.
>
> Yes that should be possible.
Sorry for the late response...I was a bit too busy and nearly forgot
about it. But could u pls review the attached patch? It combines good
from both.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vo_directx.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071023/23f964f7/attachment.asc>
More information about the MPlayer-dev-eng
mailing list