summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-07 13:55:20 +0100
committerwm4 <wm4@nowhere>2020-03-07 13:55:20 +0100
commit28ea1ed296a4e241ee57d9748ff0cfa073e5219c (patch)
treeffa81a228849c42905c9fc884161c02d49ab5de4
parent3471476f3f4504a33bc630e70de680f1d146e857 (diff)
downloadmpv-28ea1ed296a4e241ee57d9748ff0cfa073e5219c.tar.bz2
mpv-28ea1ed296a4e241ee57d9748ff0cfa073e5219c.tar.xz
stream_lavf: use smb:// for ffmpeg libsmbclient support
If you really want that, you can get it through FFmpeg, I guess.
-rw-r--r--DOCS/man/mpv.rst2
-rw-r--r--stream/stream_lavf.c2
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,