summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-20 19:43:51 +0200
committerwm4 <wm4@nowhere>2014-06-20 19:43:51 +0200
commit8ce73ebbe0167a7a6fd3555a9fe24b4f8f3202e2 (patch)
tree76d592bc175b502fbd4506e42f58bd48239fca48 /stream/stream_dvdnav.c
parente41755553bc6973c54e0f77b8e60c0f1ffa149e4 (diff)
downloadmpv-8ce73ebbe0167a7a6fd3555a9fe24b4f8f3202e2.tar.bz2
mpv-8ce73ebbe0167a7a6fd3555a9fe24b4f8f3202e2.tar.xz
stream_dvd, stream_dvdnav: map dvd:// to dvdnav
The old stream_dvd.c implementation is still available under dvdread://.
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c2
1 files changed, 1 insertions, 1 deletions
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,