mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix 3d OSD position.
This commit is contained in:
parent
cb91c779d3
commit
10075aa501
2
video.c
2
video.c
@ -7492,11 +7492,13 @@ static void VdpauMixOsd(void)
|
||||
|
||||
switch (Osd3DMode) {
|
||||
case 1:
|
||||
output_rect.x0 = output_rect.x0 / 2;
|
||||
output_rect.x1 = output_rect.x1 / 2;
|
||||
output_double_rect.x0 = output_rect.x0 + (VideoWindowWidth / 2);
|
||||
output_double_rect.x1 = output_rect.x1 + (VideoWindowWidth / 2);
|
||||
break;
|
||||
case 2:
|
||||
output_rect.y0 = output_rect.y0 / 2;
|
||||
output_rect.y1 = output_rect.y1 / 2;
|
||||
output_double_rect.y0 = output_rect.y0 + (VideoWindowHeight / 2);
|
||||
output_double_rect.y1 = output_rect.y1 + (VideoWindowHeight / 2);
|
||||
|
Loading…
Reference in New Issue
Block a user