diff options
author | wm4 <wm4@nowhere> | 2020-02-15 15:07:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-15 15:07:52 +0100 |
commit | 96ef62161ac8edb3c111bde7a79cb07dd6db813c (patch) | |
tree | 608ebb51f05b45e7273c9745c3485497814243de /DOCS | |
parent | 121bc6ad62a75eb4a3c9cbd2d4f96fcd18593ac9 (diff) | |
download | mpv-96ef62161ac8edb3c111bde7a79cb07dd6db813c.tar.bz2 mpv-96ef62161ac8edb3c111bde7a79cb07dd6db813c.tar.xz |
demux_edl: improve parsing slightly
Add a mp_log context to the parse_edl() function, and report some
errors. Previously, this just told you that something was wrong. Add
some error reporting to make it slightly less evil.
Put all parameters in a list before processing them. This makes adding
parameters for special headers easier, and we can report parameters that
were not understood. (For "compatibility", which probably doesn't matter
at all, still don't count them as errors; as before.)
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/edl-mpv.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DOCS/edl-mpv.rst b/DOCS/edl-mpv.rst index 46a25293aa..881c3138d4 100644 --- a/DOCS/edl-mpv.rst +++ b/DOCS/edl-mpv.rst @@ -189,7 +189,8 @@ Currently, time values are floating point values in seconds. As an extension, you can set the ``timestamps=chapters`` option. If this option is set, timestamps have to be integers, and refer to chapter numbers, starting -with 0. +with 0. The default value for this parameter is ``seconds``, which means the +time is as described in the previous paragraph. Example:: |