context: fix get_attribute() value result.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Jan 2014 10:44:12 +0000 (11:44 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 23 Jan 2014 13:29:09 +0000 (14:29 +0100)
commite3ed05bc525ce331b3a98d1248a5127fa81a76f0
treec2edc8265cceb7a335c3cb524656e950f3cffbbd
parent3b714c8913ff43370f7d7bd6ec0fdb85ef72328d
context: fix get_attribute() value result.

Unknown attributes, or attributes that are not supported for the given
profile/entrypoint pair have a return value of VA_ATTRIB_NOT_SUPPORTED.
So, return failure in this case.
gst-libs/gst/vaapi/gstvaapicontext.c