mirror of https://github.com/mpv-player/mpv
stream_lavf: add support for ipfs and ipns
ffmpeg 5.1 adds support for IPFS (the ipns:// and ipfs:// protocols). This patch enables those protocols to be fist-class citizens in mpv. Thus allowing for playing IPFS resources on mpv like: "mpv ipfs://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T"
This commit is contained in:
parent
3a4537d40b
commit
3458651010
|
@ -411,7 +411,7 @@ const stream_info_t stream_info_ffmpeg = {
|
|||
.protocols = (const char *const[]){
|
||||
"rtmp", "rtsp", "rtsps", "http", "https", "mms", "mmst", "mmsh", "mmshttp",
|
||||
"rtp", "httpproxy", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts", "srt",
|
||||
"srtp", "gopher", "gophers", "data",
|
||||
"srtp", "gopher", "gophers", "data", "ipfs", "ipns",
|
||||
NULL },
|
||||
.can_write = true,
|
||||
.stream_origin = STREAM_ORIGIN_NET,
|
||||
|
|
Loading…
Reference in New Issue