diff options
| author | Nicolas Dufresne <[email protected]> | 2020-09-18 02:27:51 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-27 11:20:05 +0200 |
| commit | 8c608272ec3e6926ae2e258e74e84777d932ddd6 (patch) | |
| tree | 95c0977970fb435003b84806c1ce83ee0133fecf /tools/perf/scripts/python/bin | |
| parent | 2f8c737ed2c1fa13ed606f2c32f7ce95688fa1d9 (diff) | |
media: cedrus: Propagate OUTPUT resolution to CAPTURE
As per spec, the CAPTURE resolution should be automatically set based on
the OUTPUT 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 kernel oops.
Signed-off-by: Nicolas Dufresne <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Acked-by: Paul Kocialkowski <[email protected]>
Tested-by: Ondrej Jirman <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions