vaapisink: recalculate render rect only if caps are negotiated.
authorHolger Kaelberer <holger.k@elberer.de>
Tue, 7 Feb 2012 14:21:05 +0000 (15:21 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Apr 2012 11:45:41 +0000 (13:45 +0200)
commit15f13a561eb22f29e7b3ce6d8db57d2b9e071242
tree28f87436b4f12235afd85c7deee1f32ea5c4b27e
parent6bca1bc6def78de3977ccbc269d28fabae6d7ad0
vaapisink: recalculate render rect only if caps are negotiated.

Fix gst_vaapisink_xoverlay_set_window_handle() when it is called before
caps got negotiated. Besides, when a foreign window is provided by the
user, so should the render rect.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
NEWS
gst/vaapi/gstvaapisink.c
gst/vaapi/gstvaapisink.h