[MPlayer-dev-eng] [patch] vo_x11 calculate panscan on resize

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Sun Apr 10 10:39:15 CEST 2005


Hi,

currently, vo_xv updates panscan variables just when VOCTRL_FULLSCREEN
is called, which means they are not synchronized with the physical
display dimensions. This can cause vo_draw_text being called with bogus
dimensions between the update of vo_panscan_x and vo_dwidth.

The attached patch moves the call of panscan_calc() to the event loop,
so all relevant variables stay synchronized.

-- 
Jindrich Makovicka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vo_xv.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050410/8cafbca0/attachment.txt>


More information about the MPlayer-dev-eng mailing list