Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Subtitle delay value displays "-0ms"

Open Beginner friendly
#18,649 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
frontend

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

os:linux
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
  1. start playing a video file
  2. press z on your keyboard
  3. press x
  4. Sub Delay: -0ms
  5. To bring back 0ms, click x then z again.
Expected Behavior

The on screen display to show Sub Delay: 0ms.

Actual Behavior

The display shows Sub Delay: -0ms.

Log File

output.txt

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.