Skip to content
Commit 0ea4d9ea authored by John Cox's avatar John Cox Committed by Phil Elwell
Browse files

media: rpivid: Fix H265 aux ent reuse of the same slot



It is legitimate, though unusual, for an aux ent associated with a slot
to be selected in phase 0 before a previous selection has been used and
released in phase 2. Fix such that if the slot is found to be in use
that the aux ent associated with it is reused rather than an new aux
ent being created. This fixes a problem where when the first aux ent
was released the second was lost track of.

This bug spotted in Nick's testing. It may explain some other occasional,
unreliable decode error reports where dmesg included "Missing DPB AUX
ent" logging.

Signed-off-by: default avatarJohn Cox <jc@kynesim.co.uk>
parent 242edb3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment