Skip to content

[Feat]: Make landscape non-camera source in portrait orientation FIT instead of CROP #277

@dimadesu

Description

@dimadesu

Version

3.1.0

Environment that reproduces the issue

I think all devices

Use case description

I've noticed after updating to 3.1.0 for this case preview does FIT, but output surface does CROP.

Proposed solution

Not sure if it's a feature or a bug.
I personally prefer FIT. Maybe some people like CROP in this case.
In any case, it's confusing when preview doesn't match output.

Alternative solutions

I did this change to fix on my fork dimadesu/StreamPack@4aea201...615e632

I am doing testing, seems to work okay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions