glwindow: Deactivate window before changing handle
authorEdward Hervey <bilboed@bilboed.com>
Tue, 24 Feb 2015 13:01:04 +0000 (14:01 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 24 Feb 2015 16:42:13 +0000 (17:42 +0100)
commita12ca13750a15300ab3c718ebde2984dc3d587b3
tree86fc8312cdcb6258316dbf0590a00afe211c6c17
parent7075b2528884b8425ce78153a34e253359950b16
glwindow: Deactivate window before changing handle

When setting a new window handle, we need to ensure all implementations
will detect the change.

For that we deactivate the context before setting the window handle, then
reactivate the context

https://bugzilla.gnome.org/show_bug.cgi?id=745090
gst-libs/gst/gl/gstglwindow.c