[MPlayer-dev-eng] [PATCH] support -mouse-movements on OS/2
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Mar 1 11:28:08 CET 2014
On Sat, Mar 01, 2014 at 10:35:03AM +0900, KO Myung-Hun wrote:
> I seemed to find a way. ^^ I misunderstood vo_dwidth/height. I thought
> that they were a movie size not a window size.
>
> I attach a new patch.
It's better than nothing, so don't let me stop you.
But without panscan support it's not going to give the right results
e.g. when that feature is used.
Try for example "-panscanrange -1 -panscan -0.5" (this is supposed
to scale the video to half the window size), I guess your code will
produce mouse coordinates that are quite off.
I don't know what options there are on OS/2, but most overlay based VOs
nowadays use calc_src_dst_rects to just handle all these options
(in particular panscan and border-pos-x/y).
More information about the MPlayer-dev-eng
mailing list