Skip to content

Video is clipped if screen is in portrait orientation #18

@vsf6

Description

@vsf6

Hi,
Thanks for your great samples.
I've encountered the following issue: my screen resolution is 1920x1080, but I work in portrait orientation, i.e. screen is vertical. When I resize the sample window or maximize it, the video area is clipped and everything that is below 1080 pixels from the top of the screen is just black. All I found is some thread about old games, that says that DirectX ignores orientation, renders off screen on a buffer that is horizontal and it's rotated by the video driver. That sounds reasonable and explains where is this 1080 limit comes for. But is there a way to fix this?

PS At the same time snapshot is fine - it contains bottom part that is black on the camera video. I.e. problem affects only video, not a snapshot.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions