Commit 6cddc038 authored by Felix Abecassis's avatar Felix Abecassis

Win32: the dimensions of the unclipped source rectangle should be the original format of the video

Fix #10886
parent bacef2b0
...@@ -403,8 +403,8 @@ void UpdateRects(vout_display_t *vd, ...@@ -403,8 +403,8 @@ void UpdateRects(vout_display_t *vd,
/* src image dimensions */ /* src image dimensions */
rect_src.left = 0; rect_src.left = 0;
rect_src.top = 0; rect_src.top = 0;
rect_src.right = source->i_visible_width; rect_src.right = vd->fmt.i_visible_width;
rect_src.bottom = source->i_visible_height; rect_src.bottom = vd->fmt.i_visible_height;
/* Clip the source image */ /* Clip the source image */
rect_src_clipped.left = source->i_x_offset + rect_src_clipped.left = source->i_x_offset +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment