window: allow for updating size from current geometry.
authorHolger Kaelberer <hk@getslash.de>
Mon, 29 Jul 2013 07:28:28 +0000 (09:28 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 25 Jul 2014 15:36:12 +0000 (17:36 +0200)
commit08dc3036f45fa9222b531f68e8913a52edb5d821
tree2d55d879dbe2bda8f80e7aa92da2fd57da1e1d24
parent3490212988d42b7d35c72893b3f37c7c0c79065d
window: allow for updating size from current geometry.

Add gst_vaapi_window_reconfigure() interface to force an update of
the GstVaapiWindow "soft" size, based on the current geometry of the
underlying native window.

This can be useful for instance to synchronize the window size when
the user changed it.

Thanks to Fabrice Bellet for rebasing the patch.

[changed interface to gst_vaapi_window_reconfigure()]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapiwindow.c
gst-libs/gst/vaapi/gstvaapiwindow.h