diff --git a/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c b/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c index 44b282e729..eb41b923a5 100644 --- a/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c +++ b/gst-libs/gst/vulkan/win32/gstvkwindow_win32.c @@ -163,7 +163,7 @@ gst_vulkan_window_win32_open (GstVulkanWindow * window, GError ** error) gst_object_unref (display); priv->msg_io_channel = g_io_channel_win32_new_messages (0); - msg_source = g_io_create_watch (priv->msg_io_channel, G_IO_IN); + window_win32->msg_source = g_io_create_watch (priv->msg_io_channel, G_IO_IN); g_source_set_callback (window_win32->msg_source, (GSourceFunc) msg_cb, NULL, NULL); g_source_attach (window_win32->msg_source, context);