GNOME Bugzilla – Bug 722244
vaapisink: fix display initialization in GstVideoOverlay implementation
Last modified: 2014-01-15 10:27:41 UTC
Created attachment 266342 [details] [review] vaapisink: fix display initialization in GstVideoOverlay implementation When gst_vaapisink_video_overlay_set_window_handle() is called early, before the pipeline has been set to PLAYING, the display has not yet been initialized and _PLUGIN_BASE_DISPLAY_TYPE() is not yet up-to-date. For this reason the foreign XID is not attached. With this patch _ensure_display() is called earlir
OK, this one looks simple enough that I can include it now. :)
Applied. Thanks.
commit f8666e2cae518c0514c3b2944e4607502f7ba350 Author: Holger Kaelberer <hk@getslash.de> Date: Wed Jan 15 10:05:45 2014 +0100 vaapisink: fix display initialization in GstVideoOverlay implementation. When gst_vaapisink_video_overlay_set_window_handle() is called early, before the pipeline has been set to PLAYING, the display has not yet been initialized and _PLUGIN_BASE_DISPLAY_TYPE() is not yet up-to-date. For this reason the foreign XID is not attached. Now _ensure_display() is called earlier. https://bugzilla.gnome.org/show_bug.cgi?id=722244 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>