diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-14 08:15:37 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-05-14 08:15:37 +0000 |
commit | f6df520b8e3b6c87dd5f22a1ad5b1184062c0300 (patch) | |
tree | 17ad2ae08b919d9251fa11a8bf4910c0342c29e8 /libmpdemux/stream_file.c | |
parent | 86830611e17847120730df13c32836217f62cc06 (diff) | |
download | mpv-f6df520b8e3b6c87dd5f22a1ad5b1184062c0300.tar.bz2 mpv-f6df520b8e3b6c87dd5f22a1ad5b1184062c0300.tar.xz |
make file:// prefix work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15453 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stream_file.c')
-rw-r--r-- | libmpdemux/stream_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/stream_file.c b/libmpdemux/stream_file.c index 05197c2480..6fcca8c7ba 100644 --- a/libmpdemux/stream_file.c +++ b/libmpdemux/stream_file.c @@ -14,14 +14,16 @@ static struct stream_priv_s { char* filename; + char* dummy_hostname; } stream_priv_dflts = { - NULL + NULL, NULL }; #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) /// URL definition static m_option_t stream_opts_fields[] = { {"filename", ST_OFF(filename), CONF_TYPE_STRING, 0, 0 ,0, NULL}, + {"hostname", ST_OFF(dummy_hostname), CONF_TYPE_STRING, 0, 0, 0, NULL }, { NULL, NULL, 0, 0, 0, 0, NULL } }; static struct m_struct_st stream_opts = { |