mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
d3d11window: Invoke resize task with high priority
On resize event, swapchain should be configured with higher priority than the other tasks since it's directly related to visual artifacts.
This commit is contained in:
parent
d2b85683de
commit
71befc477f
1 changed files with 2 additions and 2 deletions
|
@ -648,8 +648,8 @@ gst_d3d11_window_on_size (GstD3D11Window * self,
|
|||
GST_LOG_OBJECT (self, "WM_PAINT, surface %ux%u",
|
||||
self->surface_width, self->surface_height);
|
||||
|
||||
gst_d3d11_device_thread_add (self->device,
|
||||
(GstD3D11DeviceThreadFunc) gst_d3d11_window_on_resize, self);
|
||||
gst_d3d11_device_thread_add_full (self->device, G_PRIORITY_HIGH,
|
||||
(GstD3D11DeviceThreadFunc) gst_d3d11_window_on_resize, self, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue