diff options
author | wm4 <wm4@nowhere> | 2019-01-04 12:31:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | 8a83430ae77602feb0db4f9cacc8d6d9f63534ce (patch) | |
tree | bfee0aeeda621bf5c1d8607c3fbe0eaaf6bb2227 /DOCS/edl-mpv.rst | |
parent | 4bc96e820497a39e552ccee2c7ca7d2953c01d36 (diff) | |
download | mpv-8a83430ae77602feb0db4f9cacc8d6d9f63534ce.tar.bz2 mpv-8a83430ae77602feb0db4f9cacc8d6d9f63534ce.tar.xz |
DOCS/edl-mpv: document a dumb thing
EDLs can be provided either as external file, or "inline" as a big
edl:// URL. There is no difference between them, except if it's loaded
from an external file, there is some weird filename sanitation going on
(see fix_filenames() in demux_edl.c). It seems this is intended to be a
security mechanism, but probably makes no sense at all.
Note that playlists are allowed to access anything locally. One
difference to playlists is that the EDL code lacks the "security"
mechanism when accessing playlist entries (see handling of the
playlist_entry.stream_flags field - EDL would need something similar),
so don't remove that, as I'm unaware of the exact consequences.
Diffstat (limited to 'DOCS/edl-mpv.rst')
-rw-r--r-- | DOCS/edl-mpv.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/edl-mpv.rst b/DOCS/edl-mpv.rst index 2d451926cb..0563c28b0c 100644 --- a/DOCS/edl-mpv.rst +++ b/DOCS/edl-mpv.rst @@ -173,3 +173,6 @@ header, the syntax is exactly the same. It's far more convenient to use ``;`` instead of line breaks, but that is orthogonal. Example: ``edl://f1.mkv,length=5,start=10;f2.mkv,30,20;f3.mkv`` + +As a quirks, mpv will accept arbitrary paths in EDLs originating from +``edl://``, while ``.edl`` does not. This makes no sense. |