From 28ea1ed296a4e241ee57d9748ff0cfa073e5219c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 7 Mar 2020 13:55:20 +0100 Subject: [PATCH] stream_lavf: use smb:// for ffmpeg libsmbclient support If you really want that, you can get it through FFmpeg, I guess. --- DOCS/man/mpv.rst | 2 +- stream/stream_lavf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index d02a3fbb29..6078bf9731 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -898,7 +898,7 @@ PROTOCOLS ``smb://PATH`` - Play a path from Samba share. + Play a path from Samba share. (Requires FFmpeg support.) ``bd://[title][/device]`` ``--bluray-device=PATH`` diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index 8180a8e69f..925f79b518 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -428,7 +428,7 @@ const stream_info_t stream_info_ffmpeg_unsafe = { .open = open_f, .protocols = (const char *const[]){ "lavf", "ffmpeg", "udp", "ftp", "tcp", "tls", "unix", "sftp", "md5", - "concat", + "concat", "smb", NULL }, .stream_origin = STREAM_ORIGIN_UNSAFE, .can_write = true,