Skip to content

FilterGroup distorts camera preview #107

@KristianKalamin

Description

@KristianKalamin

When I set FilterGroup as texture filter for CameraPreviewTextureView or PreviewConsumerTextureView, camera preview becomes rotated and scaled down when compared to original camera preview. This only happens when FilterGroup is set as texture filter, but when I set for example GammaFilter, camera preview (dimensions and rotation) stays the same as original camera preview.

Testing device: Samsung Galaxy A51

On image: first preview is original camera preview, second preview is camera preview with FilterGroup (Gamma and Pixelation filters) as filter.

Screenshot_20220329-191825_CanvasGLSample

Any help would be appreciated.

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