commit | 1509fee81f77e7043161543bda4ba0fabd3ef4b6 | [log] [tgz] |
---|---|---|
author | Fabien Parent <fparent@baylibre.com> | Tue Jul 21 18:28:03 2020 +0200 |
committer | Cindy Liu <hcindyl@google.com> | Fri Jul 24 17:02:52 2020 -0700 |
tree | 5695ec8f2100d086d567a0c899de9954705d5e33 | |
parent | 8231a647eb2d86f55fec858e966cadbf7cc30144 [diff] |
media: mtk-mdp: assign colorspace also for output The colorspace needs to also be defined for the output. Currently the colorspace for the output will be by default the same one that was for capture since the struct is reused and never cleared. In case the colorspace for the output is not similar to the one for the capture, then userspace will get a wrong colorspace. Signed-off-by: Fabien Parent <fparent@baylibre.com>