d3dvideosink: Don't try to recreate swapchain while the window is minimized
authorSebastian Dröge <sebastian@centricular.com>
Mon, 30 Nov 2015 17:53:28 +0000 (19:53 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 30 Nov 2015 17:53:28 +0000 (19:53 +0200)
commitd8b1efe13ab2d366290573f4cecbd0852a2721c5
tree3cd5a83070eb6b46167c7f2f87a3db6c52e2aa67
parent0767a237ad6ceecf8cadc072f88bc87ebbe7c2bd
d3dvideosink: Don't try to recreate swapchain while the window is minimized

It will fail and cause the sink to crash. Instead wait until the window is
visible again before checking if the swapchain really has to be recreated.

https://bugzilla.gnome.org/show_bug.cgi?id=741608
sys/d3dvideosink/d3dhelpers.c