vatrace: fix vatrace crash during video recording
authorElaine Wang <elaine.wang@intel.com>
Tue, 23 Oct 2012 08:04:59 +0000 (16:04 +0800)
committerAustin Yuan <shengquan.yuan@intel.com>
Thu, 27 Dec 2012 09:13:55 +0000 (17:13 +0800)
commitb5b1933f60dfec8cf2cff19082362accbe6fce1d
tree4c4ea575fb774038a75f5709b87472407505c8bd
parentb8d3cf092c9b07cfd909552a3c160b7db3b5a91d
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
va/va_trace.c