aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-06-20 19:43:51 +0200
committerGravatar wm4 <wm4@nowhere>2014-06-20 19:43:51 +0200
commit8ce73ebbe0167a7a6fd3555a9fe24b4f8f3202e2 (patch)
tree76d592bc175b502fbd4506e42f58bd48239fca48 /stream
parente41755553bc6973c54e0f77b8e60c0f1ffa149e4 (diff)
stream_dvd, stream_dvdnav: map dvd:// to dvdnav
The old stream_dvd.c implementation is still available under dvdread://.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c4
-rw-r--r--stream/stream_dvdnav.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index a63cc41f75..0e193db78a 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -940,7 +940,7 @@ static int ifo_stream_open (stream_t *stream)
priv->cfg_title = 0;
free(filename);
- stream->url=talloc_strdup(stream, "dvd://");
+ stream->url=talloc_strdup(stream, "dvdread://");
return open_s(stream);
}
@@ -948,7 +948,7 @@ static int ifo_stream_open (stream_t *stream)
const stream_info_t stream_info_dvd = {
.name = "dvd",
.open = open_s,
- .protocols = (const char*const[]){ "dvd", NULL },
+ .protocols = (const char*const[]){ "dvdread", NULL },
.priv_size = sizeof(dvd_priv_t),
.priv_defaults = &stream_priv_dflts,
.options = stream_opts_fields,
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index b2b10d5bf4..59f10f6103 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -737,7 +737,7 @@ static int open_s(stream_t *stream)
const stream_info_t stream_info_dvdnav = {
.name = "dvdnav",
.open = open_s,
- .protocols = (const char*const[]){ "dvdnav", NULL },
+ .protocols = (const char*const[]){ "dvd", "dvdnav", NULL },
.priv_size = sizeof(struct priv),
.priv_defaults = &stream_priv_dflts,
.options = stream_opts_fields,