st/va: enable dual instances encode only for H264
authorBoyuan Zhang <boyuan.zhang@amd.com>
Thu, 25 Jan 2018 19:32:04 +0000 (14:32 -0500)
committerLeo Liu <leo.liu@amd.com>
Mon, 5 Feb 2018 14:16:18 +0000 (09:16 -0500)
commit66087d8a2d20fc46dfac68229563602050a95217
tree0fbeb4b4ae9e324abf70c611be8c435688372357
parenta9c0861c6c4e26207b8e2fc18f6efd824e92d960
st/va: enable dual instances encode only for H264

Logics that related to dual instances encode should only be done for
H264, not other codecs.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c
src/gallium/state_trackers/va/surface.c