psb_video: fix media crash at wsbmBOOffsetHint+14 during thumbnail generation

BZ: 153574

When two media_server threads run simutaneously to call into driver,
if obj_surface is set as static for EC,
another thread will also use the same obj_surface for EC,
while that thread maybe already destory the surface,
so crash will happen.

Change-Id: I0002343dd03fc753990bcb0d413a6d0f1ead88dd
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
1 file changed