1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/stream
wm4 44d6ac06ae stream: parse URL escapes for file://
So for example "file:///file%20name.mkv" will open "file name.mkv".

I'm not sure whether we want/need this. The old code didn't do it.
Also, it's not really clear whether this is handled correctly. It
seems the corresponding freedesktop.org "standard" allows a (useless)
hostname part, which we should skip in theory. The number of slashes
is not really clear either. We can open relative filenames (by removing
one of the slashes from the example above), which is perhaps an
unneeded feature. How does this even work with Windows paths?

This issues can probably be corrected later.

The URL unescape code is based on code from m_option.c removed with
a recent commit.
2013-08-02 17:05:26 +02:00
..
ai_alsa1x.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
ai_oss.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
audio_in.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
audio_in.h
cache.c cache: fix time check for printing warning 2013-07-20 02:16:54 +02:00
cdd.h Remove some leftovers from network removal 2013-07-07 21:10:44 +02:00
cdinfo.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
cookies.c Remove internal network support 2013-07-07 19:42:38 +02:00
cookies.h Remove internal network support 2013-07-07 19:42:38 +02:00
dvb_tune.c Fix some cppcheck / scan-build warnings 2013-05-06 23:11:11 +02:00
dvb_tune.h
dvbin.h stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
frequencies.c
frequencies.h
pvr.h
stream_avdevice.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_bluray.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_cdda.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_dvb.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_dvd_common.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
stream_dvd_common.h
stream_dvd.c stream: parse URL escapes for file:// 2013-08-02 17:05:26 +02:00
stream_dvd.h stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_file.c stream: parse URL escapes for file:// 2013-08-02 17:05:26 +02:00
stream_lavf.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_memory.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_mf.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_null.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_pvr.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_radio.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_radio.h Remove BSD legacy TV/radio support (BT848 stuff) 2013-02-06 23:03:39 +01:00
stream_smb.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_tv.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream_vcd.c stream: redo URL parsing, replace m_struct usage with m_config 2013-08-02 17:02:34 +02:00
stream.c stream: parse URL escapes for file:// 2013-08-02 17:05:26 +02:00
stream.h stream: parse URL escapes for file:// 2013-08-02 17:05:26 +02:00
tv.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
tv.h Cleanup some include statements 2013-07-12 22:16:26 +02:00
tvi_def.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_dummy.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_v4l2.c Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
vcd_read_darwin.h stream: remove unused vcd functions 2013-07-15 21:29:25 +02:00
vcd_read_fbsd.h stream: remove unused vcd functions 2013-07-15 21:29:25 +02:00
vcd_read_win32.h stream_vcd.c: fix compilation on win32 2013-07-22 02:52:04 +02:00
vcd_read.h stream: remove unused vcd functions 2013-07-15 21:29:25 +02:00