summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-25 23:54:58 +0200
committerwm4 <wm4@nowhere>2014-09-26 00:30:21 +0200
commitc3f77731380579323d3cf74bb739aace0a9d6717 (patch)
tree00d7dceb8127461c305ea14529c2837dcf15748a /stream/stream.c
parentd191de856486174faec188ad142ef3ff1b347bd4 (diff)
downloadmpv-c3f77731380579323d3cf74bb739aace0a9d6717.tar.bz2
mpv-c3f77731380579323d3cf74bb739aace0a9d6717.tar.xz
stream_dvdnav: allow opening DVD directories directly
Same hack as with stream_dvd.c. VIDEO_TS.IFO files are now opened via stream_dvdnav.c. Directories containing a VIDEO_TS.IFO or VIDEO_TS/VIDEO_TS.IFO file are also opened with it.
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream.c b/stream/stream.c
index ae4335c8b7..6a231713fb 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -65,6 +65,7 @@ extern const stream_info_t stream_info_ffmpeg_unsafe;
extern const stream_info_t stream_info_avdevice;
extern const stream_info_t stream_info_file;
extern const stream_info_t stream_info_ifo;
+extern const stream_info_t stream_info_ifo_dvdnav;
extern const stream_info_t stream_info_dvd;
extern const stream_info_t stream_info_dvdnav;
extern const stream_info_t stream_info_bluray;
@@ -97,6 +98,7 @@ static const stream_info_t *const stream_list[] = {
&stream_info_dvd,
#endif
#if HAVE_DVDNAV
+ &stream_info_ifo_dvdnav,
&stream_info_dvdnav,
#endif
#if HAVE_LIBBLURAY