[MPlayer-dev-eng] [PATCH] Direct3D libvo driver
Georgi Petrov
gogothebee at gmail.com
Tue Nov 18 12:32:41 CET 2008
> As far as I am concerned you could leave panscan for later...
Too late :) I wrote 90% of the panscan code.
When panscan is active, I have to modify both StretchRect's source and
destination rects. The source one have to shrink relative to the
source movie dimensions and the destination one should grow relative
to fullscreen without panscan.
It's commented right now, but accept the patch that way, because the
panscan infrastructure is already written and it's almost ready (but
disabled currently).
I've also added Begin/End Scene before locking a rect and drawing the
frame inside. I think this is the right way as Jim pointed. This
doesn't have speed penalty, so I leave it that way. Jim, please test
if the driver hangs again, because on my machine it works both ways
with no difference.
I attach the improved patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: direct3d.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081118/500c3998/attachment.txt>
More information about the MPlayer-dev-eng
mailing list