mirror of https://github.com/mpv-player/mpv
-panscan should also work for right and left borders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25810 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
51d433ec9b
commit
5558291ae3
|
@ -134,6 +134,8 @@ void panscan_calc( void )
|
|||
if (vo_panscanrange > 0) {
|
||||
aspect(&fwidth,&fheight,A_ZOOM);
|
||||
vo_panscan_area = (aspdat.scrh-fheight);
|
||||
if (!vo_panscan_area)
|
||||
vo_panscan_area = aspdat.scrw - fwidth;
|
||||
vo_panscan_area *= vo_panscanrange;
|
||||
} else
|
||||
vo_panscan_area = -vo_panscanrange * aspdat.scrh;
|
||||
|
|
Loading…
Reference in New Issue