path: root/DOCS
diff options
authorwm4 <wm4@nowhere>2012-11-18 18:02:14 +0100
committerwm4 <wm4@nowhere>2012-11-20 18:00:11 +0100
commitf5e2ee513862da957858be4963cd6535fa23f861 (patch)
treee406d96b9bafb6d041e08b3c0d422188a57d83d5 /DOCS
parent39428525c372e593f042c107e35e38b5409afc07 (diff)
options: support chapters for --start and --end
The --start and --end switch now accept a chapter number. The chapter number is prefixed with '#', e.g. "--start=#2" jumps to chapter 2. The chapter support might be able to replace --chapter completely, but for now I am not sure how well this works out with e.g. DVDs and BDs, and a separate --chapter option is useful interface-wise. (This was supposed to be added in 51503a, but apparently the fixup commit adding it was lost in a rebase. This might also be the reason for the mess-up fixed in 394285.)
Diffstat (limited to 'DOCS')
1 files changed, 5 insertions, 1 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index cc52d8f2bb..44462ec863 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -1703,7 +1703,9 @@
The general format for absolute times is ``[[hh:]mm:]ss[.ms]``. If the time
is negated with ``-``, the seek is relative from the end of the file.
- It's also possible to seek to a percent position with ``pp%``.
+ ``pp%`` seeks to percent position pp (0-100).
+ ``#c`` seeks to chapter number c. (Chapters start from 1.)
@@ -1718,6 +1720,8 @@
``--start=-3:20 --length=10``
Seeks to 3 minutes and 20 seconds before the end of the file, plays
10 seconds, and exits.
+ ``--start=#2 --end=#4``
+ Plays chapters 2 and 3, and exits.
Specifies software scaler parameters.