vatrace: fix vatrace crash during video recording
authorElaine Wang <elaine.wang@intel.com>
Tue, 23 Oct 2012 08:04:59 +0000 (16:04 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 19 Jun 2013 06:24:12 +0000 (14:24 +0800)
commitcd08c78169c4b958f5c491fb409f09870f90ee5b
tree3e65152fcc490c0d2f1004bb1bbbd2fcda81f5c6
parent49bb3208eacb2fd7974c69d6bf42754e24a745a2
vatrace: fix vatrace crash during video recording

Video recording crash when va trace is enabled. It's caused by
using wrong buffer type to trace slice buffer. This patch distinguish buffer
type VAEncSliceParameterBuffer from VAEncSliceParameterBufferH264 by
the buffer size.
Signed-off-by: Elaine Wang <elaine.wang@intel.com>
Change-Id: Ibc5c6a17b155e305151a25580b4e613702665ad1
(cherry picked from commit b5b1933f60dfec8cf2cff19082362accbe6fce1d)
va/va_trace.c