st/va: make sure that we call begin_frame() only once v2
authorChristian König <christian.koenig@amd.com>
Thu, 19 Jan 2017 12:44:34 +0000 (13:44 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 23 Jan 2017 16:00:04 +0000 (17:00 +0100)
commit1338d912f52b69f76ef75d1ad313893db77d4da8
tree2c98b1ad0a013821aa20fe008c77f15ae48a6bb2
parent50141e131a7fa1d33f8b6d16db4e128711b1fdf0
st/va: make sure that we call begin_frame() only once v2

This fixes "st/va: delay calling begin_frame until we have all parameters".

v2: call begin frame after decoder (re)creation as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Tested-by: Andy Furniss <adf.lists@gmail.com>
src/gallium/state_trackers/va/picture.c
src/gallium/state_trackers/va/va_private.h