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:
Mark Gaiser 2022-04-28 14:18:29 +02:00 committed by Dudemanguy
parent 3a4537d40b
commit 3458651010
1 changed files with 1 additions and 1 deletions

View File

@ -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,