diff options
author | wm4 <wm4@nowhere> | 2020-02-15 15:22:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-15 15:22:05 +0100 |
commit | 921f316281588165c6229bb675d84372353ac5ec (patch) | |
tree | 62b6baf86342d6eedb03f3f7be40ab38316b4881 /DOCS | |
parent | 64c4c59770c2f64e1ac4b78fb7bc12299df3072a (diff) | |
download | mpv-921f316281588165c6229bb675d84372353ac5ec.tar.bz2 mpv-921f316281588165c6229bb675d84372353ac5ec.tar.xz |
demux_edl: allow a redundant new_stream at the beginning
Normally, the first sub-stream is implicitly created. This change lets
the user use more orthogonal syntax, and use a new_stream header for
every sub-stream, instead of having to skip the header for the first
one.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/edl-mpv.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/edl-mpv.rst b/DOCS/edl-mpv.rst index 881c3138d4..bff252ddff 100644 --- a/DOCS/edl-mpv.rst +++ b/DOCS/edl-mpv.rst @@ -182,6 +182,18 @@ this will use a unified cache for all streams. The ``new_stream`` header is not part of the core EDL format. It may be changed or removed at any time, depending on mpv's internal requirements. +If the first ``!new_stream`` is redundant, it is ignored. This is the same +example as above:: + + # mpv EDL v0 + !new_stream + video.mkv + !new_stream + audio.mkv + +Note that ``!new_stream`` must be the first header. Whether the parser accepts +(i.e. ignores) or rejects other headers before that is implementation specific. + Timestamp format ================ |