summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorIrui Wang <irui.wang@mediatek.com>2022-07-20 11:57:30 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-08-30 15:32:09 +0300
commitcd61f3c6794bea2b717fe6083ca2ad189db75418 (patch)
tree8ee509c5c789cda40d94dc181cba0fe9749a7858 /mm
parent223afdf9caa073114a25b79915781e09eadb23b7 (diff)
downloadlinux-cd61f3c6794bea2b717fe6083ca2ad189db75418.tar.xz
media: mediatek: vcodec: Fix bitstream crop information error
Usually, the real bitstream width and height will set to driver by vidioc_s_fmt, and vidioc_try_fmt() does align to get the buffer width and height, driver calculate the encoded bitstream crop information through them. The aligned resolution will be set as real resolution now if user didn't set crop info by V4L2_SEL_TGT_CROP, and the encoded bitstream may exist green line because of crop information error. Fixs: 'b6c57d313f5f8 ("media: mtk-vcodec: venc: remove redundant code")' Signed-off-by: Irui Wang <irui.wang@mediatek.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions