overlay: fix support for global-alpha.
authorHolger Kaelberer <holger.k@elberer.de>
Tue, 15 May 2012 08:24:08 +0000 (10:24 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 11 Jan 2013 14:29:12 +0000 (15:29 +0100)
commit2ecb95562638f92209258e79d361d8da8be851c7
tree22717a1ad0befa9e1eec76301a0b61a186d260e6
parente6390d6e5f88a00243e8d1c61bbd9b1d58ede03e
overlay: fix support for global-alpha.

Fix support for global-alpha subpictures. The previous changes brought
the ability to check for GstVideoOverlayRectangle changes by comparing
the underlying pixel buffer pointers. If sequence number and pixel data
did not change, then this is an indication that only the global-alpha
value changed. Now, try to update the underlying VA subpicture global-alpha
value.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapicontext.c