Subtitle delay value displays "-0ms"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
Research direction
Start by tracing the subtitle delay key bindings (z and x) to the on screen display code that formats the delay value. Reproduce the sequence in the issue and inspect how the value is rounded or formatted near zero. Done when pressing z then x displays Sub Delay: 0ms.
Written by the indexing model from the issue text.
Description
mpv Information
mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Jan 1 1980 00:00:00
libplacebo version: v7.360.1
FFmpeg version: 9.0.1
FFmpeg library versions:
libavcodec 63.1.101
libavdevice 63.1.101
libavfilter 12.1.101
libavformat 63.1.101
libavutil 61.1.101
libswresample 7.1.101
libswscale 10.1.101
Other Information
- Linux version: NixOS 26.11 (Zokor)
- Kernel Version: Linux kk-spartans 7.2.9 #1-NixOS SMP PREEMPT_DYNAMIC Sat Oct 3 10:43:16 UTC 2026 x86_64 GNU/Linux
- GPU Model: NVIDIA T1200 Laptop GPU
- Mesa/GPU Driver Version: Mesa 26.2.4 (LLVM 21.1.8)
- Window Manager and Version: Hyprland 0.56.0 built from branch unknown at commit 19fb395d45314960e6f79f17994a84094f1cd4f6
- Source of mpv: nixpkgs
- Latest known working version: none
- Issue started after the following happened: pressing `z` then `x` for subtitle delay
Reproduction Steps
- start playing a video file
- press
zon your keyboard - press
x - Sub Delay: -0ms
- To bring back 0ms, click
xthenzagain.
Expected Behavior
The on screen display to show Sub Delay: 0ms.
Actual Behavior
The display shows Sub Delay: -0ms.
Log File
Sample Files
No response
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.
- Dominant language
- C
- Stars
- 37.5k
- Forks
- 3.6k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 55
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
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.
More from mpv-player/mpv
-
meta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mpv-player/mpv#18464 ·
Maintainers usually reply within 1 day
-
Keyboard shortcut next and previous secondary subtitle filePossibly taken @ravarnax claimed this 195 days ago. Openmeta:feature-request
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mpv-player/mpv#17693 · 5 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
ao/pulse: ao_drain() hangs forever on LoongArch when PulseAudio underrun produces negative buf_diffOpenos:linux
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mpv-player/mpv#17651 · 1 comment ·
Maintainers usually reply within 1 day
-
autocrop.lua:209: attempt to index local 'hwdec_current'Possibly taken A pull request linked to this issue is open or already merged. Openos:linux
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
mpv-player/mpv#16739 · 9 comments ·
Maintainers usually reply within 1 day
-
os:linux
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mpv-player/mpv#18654 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
awslabs/aws-checksums#121 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug low priority rt_lib wasm
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day