Skip to content
Snippets Groups Projects
Commit ccf3e770 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

media: cedrus: Propagate OUTPUT resolution to CAPTURE


As per spec, the CAPTURE resolution should be automatically set based on the
OTUPUT resolution. This patch properly propagate width/height to the capture
when the OUTPUT format is set and override the user provided width/height with
configured OUTPUT resolution when the CAPTURE fmt is updated.

This also prevents userspace from selecting a CAPTURE resolution that is too
small, avoiding unwanted page faults.

Signed-off-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
parent 743ff235
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment