mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 10:55:43 +00:00
Fix video placement with -vo gl2 -fs -wid.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29565 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f10dcbacd5
commit
26d8e6a696
@ -427,7 +427,7 @@ static void resize(int x,int y){
|
|||||||
panscan_calc();
|
panscan_calc();
|
||||||
x += vo_panscan_x;
|
x += vo_panscan_x;
|
||||||
y += vo_panscan_y;
|
y += vo_panscan_y;
|
||||||
glViewport( (vo_screenwidth-x)/2, (vo_screenheight-y)/2, x, y);
|
glViewport( (vo_dwidth-x)/2, (vo_dheight-y)/2, x, y);
|
||||||
} else {
|
} else {
|
||||||
//aspect(x, y, A_NOZOOM);
|
//aspect(x, y, A_NOZOOM);
|
||||||
if (WinID >= 0) {
|
if (WinID >= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user