forked from mpv-player/mpv
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
command: let frame-step go through multiple frames
This commit gives the frame-step command the ability to accept an additional argument specifying the amount of frames (forwards or backwards) to step through. By default, it steps forward 1. The frame-back-step command is reworked to simply be a call to frame-step with a -1 value. In the case where the value is exactly 1, mpv will play exactly 1 frame and stop like before. However if a backwards step is requested or multiple frames forward, then mpv will perform a very exact seek. This working well, of course, depends on the pts values in the stream being reliable which may not be the case. As a minor note, MPSEEK_BACKSTEP is renamed to MPSEEK_FRAMESTEP since forward seeks use this as well. Fixes mpv-player#10128.
- Loading branch information
1 parent
6407095
commit 4491ab8
Showing
5 changed files
with
53 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters