From 8a83430ae77602feb0db4f9cacc8d6d9f63534ce Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 4 Jan 2019 12:31:24 +0100 Subject: 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. --- DOCS/edl-mpv.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'DOCS/edl-mpv.rst') 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. -- cgit v1.2.3