player: add an optional mute flag when framestepping

Need to shuffle some stuff around but it's pretty simple. Mute the
audio stream before the frame step and then unmute it when we're done.
It's exactly the same as the default play mode otherwise.
This commit is contained in:
Dudemanguy committed 2025-02-20 15:50:03 +00:00
1 parent 723da77def
commit 25a0c8307d
7 files changed
+36 -11

No files matched your search

+1
View File
@@ -1 +1,2 @@
- add optional `frames` and `flags` arguments to `frame-step` command controlling the direction and amount of frames mpv steps through
- add optional `mute` flag to `frame-step` command which mutes the player during the duration of the frame step