context: reset VA context if VA surfaces set changed.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 3 May 2014 13:47:53 +0000 (15:47 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 21 May 2014 17:59:52 +0000 (19:59 +0200)
commit906a561c26578e17cae77be665934b498a814695
treea9d42c53d304d00a3b23eba627c7560f1a8f0b29
parentc12d80eb88359a4a5babe8ca3a7fd82397c7838a
context: reset VA context if VA surfaces set changed.

It is a requirement from VA-API specification that the VA context got
from vaCreateContext(), for decoding purposes, binds the supplied set
of VA surfaces. This means that if the set of VA surfaces is to be
changed for the current decode session, then the VA context needs to
be recreated with the new set of VA surfaces.
gst-libs/gst/vaapi/gstvaapicontext.c