d3d11window: Fix scale factor setting

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5602>
This commit is contained in:
Seungha Yang 2023-11-06 20:44:08 +09:00 committed by GStreamer Marge Bot
parent 0bcddfc894
commit 02bf1dbf1f

View file

@ -1204,7 +1204,8 @@ gst_d3d11_window_set_orientation (GstD3D11Window * window, gboolean immediate,
window->rotation_x = rotation_x;
window->rotation_y = rotation_y;
window->rotation_z = rotation_z;
window->scale_x = scale_y;
window->scale_x = scale_x;
window->scale_y = scale_y;
window->first_present = TRUE;
if (immediate && window->swap_chain && window->backbuffer
&& window->cached_buffer) {