summaryrefslogtreecommitdiffstats
path: root/mpv_talloc.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-10-26 13:21:08 -0500
committerDudemanguy <random342@airmail.cc>2021-10-26 13:21:08 -0500
commite4ee0c6ebcc438741b32f6ecb0795158055f35f3 (patch)
treee80aa1644926c9b730de18593b689122124959dc /mpv_talloc.h
parente6ab676d2023e746b439c21e1fdb4c3da4856d00 (diff)
downloadmpv-e4ee0c6ebcc438741b32f6ecb0795158055f35f3.tar.bz2
mpv-e4ee0c6ebcc438741b32f6ecb0795158055f35f3.tar.xz
wayland: remove incorrect keepaspect check
In the reconfig event, the keepaspect option was checked before setting the window_size geometry to the new params obtained from the vo. This is incorrect. If a user disabled keepaspect on wayland, the video's size would not change on a reconfigure event (i.e. loading a new video in the playlist with a different size). No other windowing backend (x11, win32, etc.) behaves like this or uses keepaspect in its code like wayland did in this case. Clearly, this is not correct. Such functionality should be handled by a separate option entirely. Just remove this if statement.
Diffstat (limited to 'mpv_talloc.h')
0 files changed, 0 insertions, 0 deletions