commit | 42f401e751b58ef071874779ef972187ef5dfce3 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Fri Aug 21 12:36:08 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sat Sep 26 10:11:26 2020 +0200 |
tree | 120444ef30116ef35a18447d4015893814cc320f | |
parent | 7ee20328e470b15528f9f53b7177e05628f92609 [diff] |
media: mtk-vcodec: venc: fix invalid time per frame in S_PARM v4l2-compliance expects the driver to adjust the time per frame if it is invalid (numerator or denominator set to 0). Adjust it to the default value in these cases. Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Acked-by: Tiffany Lin <tiffany.lin@mediatek.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>