d3d11window: Fix subclass procedure recursion

subclass window precedure should be cleared if it's no more used.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1115
This commit is contained in:
Seungha Yang 2019-11-13 20:17:48 +09:00 committed by GStreamer Merge Bot
parent 726261aa05
commit e52ed98197

View file

@ -220,6 +220,8 @@ gst_d3d11_window_dispose (GObject * object)
{
GstD3D11Window *self = GST_D3D11_WINDOW (object);
release_external_win_id (self);
if (self->loop) {
g_main_loop_quit (self->loop);
}