codec2: check a validation of HDR static info
CCodecConfig always adds C2StreamHdrStaticInfo::output as a local param
in DECODER case.
it causes CCodecBufferChannel misunderstand
although HDR static info is invalid and,
then, invalid info is set to gralloc via SetHdrMetadataToGralloc4Handle().
so, check a validation of HDR static info and
clear hdrStaticInfo when it is invalid.
Change-Id: I713aee3ee9c97e17c92a4c3790caad9c83fe382f
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Loading
Please register or sign in to comment