mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
d3d11window: Fix scale factor setting
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5602>
This commit is contained in:
parent
0bcddfc894
commit
02bf1dbf1f
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue