Skip to content

Scrambled Image with certain screen resolutions #3

@thomasvamos

Description

@thomasvamos

I ran tutorial02 on a HTC one with a screen resolution of 1080 x 1920 pixels. Now I get the behaviour as shown in the screenshot:
screenshot

The image is scrambled, the lines are somehow shifted towards the left. The Video works fine on other devices. I think the problem is that, the frameRGBA->linesize does not match with the windowBuffer.stride. In my case the first one is 1080 and the latter one 1088. Do you have an Idea what may be the error?

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions