[MPlayer-dev-eng] [PATCH] support -mouse-movements on OS/2

KO Myung-Hun komh78 at gmail.com
Sat Mar 1 15:44:01 CET 2014



Reimar Döffinger wrote:
> 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.

No problems. ^^

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

No. It does not respond to this at all. ^^

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

Ok. I've used calc_src_dst_rects(). Then I've split the patch into two
parts. One is related to a MPlayer coorindate. The other one is related
to -mouse-movemvents.

BTW, border-pos-x/y should be used for OSD ? I cannot find any
differences of a OS/2 build not using it from a Windows build using it.

Ah, the dvdnav white box cursor problem was solved. It was due to -slang
option I'm having in config file.

Thanks.

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.28 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: respect_mplayer_coordinate.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20140301/b7b565e2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mouse_movements.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20140301/b7b565e2/attachment-0001.ksh>


More information about the MPlayer-dev-eng mailing list