[MPlayer-cygwin] [PATCH] directx overlay centering when using -wip

Gianluigi Tiesi mplayer at netfarm.it
Thu Feb 10 20:57:28 CET 2005


On Thu, Feb 10, 2005 at 04:49:55PM +0100, Sascha Sommer wrote:
> On Wednesday 09 February 2005 04:51, Gianluigi Tiesi wrote:
> > Overlay is not centered when using -wip.
> > This patches solves it, please test it if there are some side effects.
> > Sasha no windows yet?
> > btw I've updated a bit avisynth demuxer patch,
> > new version at:
> > http://oss.netfarm.it/mplayer/patches/libmpdemux_avs.diff
> >
> 
> Doesn't it require the loader changes, too?
No, it doesn't, changes to loader are required only if linux support
is needed (not for now since it needs exception handler).

> Currently it seems like it is compiled in whenever win32 dll support is 
> enabled.
Yes, but it's ok, on windows will work without any problem, on linux will silent fail
if avisynth.dll is not found, and it will work when an exception handler
(+ other small fixes but no sense to patch win32.c until avisynth is not
working) is made.
There are no library dependancies, avisynth dll is loaded at runtime, if not
present the demuxer will skip the detection/load, the demuxer hangs up
also if the file is more than 16k, since Import function of avisynth
loads whole file in memory and the demuxer should be before mpeg
demuxer, this is needed to avoid loading an entire 700mb mpeg file in
memory before understanding that is not an avisynth file :)

Bye

-- 
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