st/omx/dec/h265: set the default reference picture set for reference
authorLeo Liu <leo.liu@amd.com>
Fri, 23 Sep 2016 15:42:16 +0000 (11:42 -0400)
committerLeo Liu <leo.liu@amd.com>
Tue, 4 Oct 2016 15:09:59 +0000 (11:09 -0400)
commitc50b68e6a882c95b58f46fba87c8f3531a2913d1
tree78e352b942f33965488a201901f6d6f69b609304
parent091aae0265caa82bc975e18946fd091e91b72602
st/omx/dec/h265: set the default reference picture set for reference

It will fix the corruption for frame, that only has one stort term ref
picture set, we set NULL rps for this case previously, causing taking
incorrect reference. Instead we should take that only short term set
as reference

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/state_trackers/omx/vid_dec_h265.c