aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/cec
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2020-12-23 12:06:59 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-26 19:15:32 +0100
commit73bc0b0c2a96b31199da0ce6c3d04be81ef73bb9 (patch)
tree646d01cd46561fc9df425858414a7a376ffe9162 /drivers/media/cec
parenta53e3c189cc6460b60e152af3fc24edf8e0ea9d2 (diff)
media: cedrus: Fix H264 decoding
During H264 API overhaul subtle bug was introduced Cedrus driver. Progressive references have both, top and bottom reference flags set. Cedrus reference list expects only bottom reference flag and only when interlaced frames are decoded. However, due to a bug in Cedrus check, exclusivity is not tested and that flag is set also for progressive references. That causes "jumpy" background with many videos. Fix that by checking that only bottom reference flag is set in control and nothing else. Tested-by: Andre Heider <a.heider@gmail.com> Fixes: cfc8c3ed533e ("media: cedrus: h264: Properly configure reference field") Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: <stable@vger.kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/cec')
0 files changed, 0 insertions, 0 deletions