diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2017-01-25 15:33:05 +0000 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2017-01-25 15:40:56 +0000 |
commit | d303ebd9b6d46be4681b47043fda102811a36239 (patch) | |
tree | f6e6b690bac35001e9ec7376b790f7c723da2f83 /stream | |
parent | 39adaf3dcc3a0e03df8048d93324940b5f69df51 (diff) | |
download | mpv-d303ebd9b6d46be4681b47043fda102811a36239.tar.bz2 mpv-d303ebd9b6d46be4681b47043fda102811a36239.tar.xz |
stream_lavf: add support for data URIs
Only FFmpeg supports them and they need to be in the format data://
like other protocols or prefixed with ffmpeg:// or lavf://.
Closes #4058
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_lavf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index 7594175bd3..873043b38c 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -416,6 +416,7 @@ const stream_info_t stream_info_ffmpeg = { .protocols = (const char *const[]){ "rtmp", "rtsp", "http", "https", "mms", "mmst", "mmsh", "mmshttp", "rtp", "httpproxy", "hls", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts", "srtp", + "data", NULL }, .can_write = true, .is_safe = true, |