From 2a0028aa130a542f10a2f88bd12025b6c240da27 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 16 Jun 2017 22:40:42 +0200 Subject: stream_file: option to close fd after use -> fdclose:// fdclose://123 will instruct mpv to close the file descriptor when it is no longer needed (usually when playing finishes). --- DOCS/man/mpv.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS/man') diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 3ca135439d..a9fc5edab9 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -769,6 +769,11 @@ PROTOCOLS Read data from the given file descriptor (for example 123). This is similar to piping data to stdin via ``-``, but can use an arbitrary file descriptor. +``fdclose://123`` + + Like ``fd://``, but the file descriptor is closed after use. When using this + you need to ensure that the same fd URL will only be used once. + ``edl://[edl specification as in edl-mpv.rst]`` Stitch together parts of multiple files and play them. -- cgit v1.2.3