Skip to content

Fullscreen rectangle have wrong dimensions on secondary display.

When VLC is set to fullscreen on secondary display for default, and screen resolution of 2nd display differs from resolution of 1st display, the video rectangle does not fit or fill the screen.

Note that it switches to fullscreen correctly at runtime by dblclick.

Case 1:

1st display 1920x1200

2nd display 1280x1024

video rectangle is shifted right for 190-200 pixels and stretched

_debug:_

directx debug: screen dimensions (1920x0,3200x1024)

directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1

can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1

main debug: VoutDisplayEvent 'resize' 1920x1200 fullscreen

Case 2:

1st display 1280x1024

2nd display 1280x1024

video rectangle fits correctly

_debug:_

directx debug: screen dimensions (1280x0,2560x1024)

directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1

can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1

main debug: VoutDisplayEvent 'resize' 1280x1024 fullscreen

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information