mpv seems to ignore config file (or --autofit-larger) when opening audio cover art
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Dec 28 2025 10:15:23
libplacebo version: v7.351.0
FFmpeg version: n8.0.1
FFmpeg library versions:
libavcodec 62.11.100
libavdevice 62.1.100
libavfilter 11.4.100
libavformat 62.3.100
libavutil 60.8.100
libswresample 6.1.100
libswscale 9.1.100
Other Information
- Linux version:Cachy OS
- Kernel Version:Linux cachyos-x8664 6.18.7-2-cachyos #1 SMP PREEMPT_DYNAMIC Sat, 24 Jan 2026 21:21:21 +0000 x86_64 GNU/Linux
- GPU Model:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1650] [10de:2188] (rev a1)
- Mesa/GPU Driver Version:driverInfo = 590.48.01
- Window Manager and Version:KDE 6.5.5
- Source of mpv: pacman
Reproduction Steps
- open an audio file with a high res cover art
- mpv goes out of windows bound
heres how 1080p video shows up in a smaller windowas expected of config file:
here's how audio covers load and this not following autofit-larger:
They are both on local disks
Expected Behavior
it should follow the config flag (--autofit-larger)
Actual Behavior
it doesnt follow the config
Log File
Sample Files
https://files.catbox.moe/brwt84.flac
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the attached FLAC sample, the reported --autofit-larger configuration, and output.txt, comparing its audio-cover window with the 1080p video behavior. Trace the window-sizing path for cover art and verify that the resulting window remains within the configured bounds while preserving the reported reproduction case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100