mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-20 00:51:26 +08:00
6107112b32
Follow up to the previous commit. Stop decreasing --ab-loop-count=N on each iteration so it is preserved across different loops. In particular it is preserved between different files without adding it to --reset-on-next-file. Add a property to expose the remaning A-B loop count instead. The current behavior of --ab-loop-count=N is even worse than --loop-file since it also doesn't reset when defining a new A-B loop in the same file. Defining it has no effect after --ab-loop-count has decreased to 0, and this can't be fixed by adding it to --reset-on-next-file. This commit also resets remaining-ab-loops every time --ab-loop-a and --ab-loop-b are set to fix this.
5 lines
314 B
Plaintext
5 lines
314 B
Plaintext
numerical values of `--loop-file` no longer decrease on each iteration
|
|
add `remaining-file-loops` property as a replacement to get the remaining loop count
|
|
numerical values of `--ab-loop-count` no longer decrease on each iteration
|
|
add `remaining-ab-loops` property as a replacement to get the remaining loop count
|