Skip to content

Issue with using --geometry when loading videos with different aspect ratios #17588

@raziel711

Description

@raziel711

mpv Information

mpv v0.41.0-333-gb51131dff Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
 built on Mar 15 2026 18:02:55
libplacebo version: v7.362.0 (v7.360.0-11-g33b5dfa-dirty)
FFmpeg version: N-123498-g482395f83
FFmpeg library versions:
   libavcodec      62.29.100
   libavdevice     62.4.100
   libavfilter     11.15.101
   libavformat     62.13.101
   libavutil       60.29.100
   libswresample   6.4.100
   libswscale      9.7.100

Other Information

- Windows version: Version 10.0.26200.8037
- GPU model, driver and version: NVIDIA RTX A500 Laptop GPU, RTX Enterprise Driver 595.79
- Source of mpv: https://github.com/zhongfly/mpv-winbuild/releases
- Latest known working version: https://github.com/mpv-player/mpv/commit/3a09e793b9b99ab93d93781f6994ce14c28501f6
- Issue started after the following happened: The issue started happening after https://github.com/mpv-player/mpv/commit/fbdaddf9688c6f52e9f2d3d9cf7722d420669574

Reproduction Steps

  1. Set geometry to a specific value such as 0:250
  2. Start a video with an aspect ratio of 16:9.
  3. Move the window to a new location different from the position set by geometry.
  4. While the video is playing, load a new video with a different aspect ratio such as 4:3.

Expected Behavior

Before fbdaddf, when the mpv window was moved from the position set by geometry, it would remain at that position when new videos were loaded regardless of aspect ratio as shown here:

T26wi4hgGk.mp4

Actual Behavior

Now, the window only remains at the new position when videos of the same aspect ratio are loaded. If there is a change in the aspect ratio, the window automatically moves back to the position set by geometry:

MjW0JE9b5b.mp4

Log File

log.txt

Sample Files

Any video files should work as long as they have different aspect ratios.

I carefully read all instruction and confirm that I did the following:

  • I tested and confirmed that the issue exists with the latest release version or newer.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions