summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2014-03-29 00:00:02 +0900
committerxylosper <darklin20@gmail.com>2014-03-29 23:31:46 +0900
commit8cee8279ad4b8aaf5c89056db5a1f9e3575f8eee (patch)
tree85c82898db43d664f8fa87a06975045578708466 /stream/stream.c
parentcd2d4ebf3b05e9cfefbb868e45ed71728178a99c (diff)
downloadmpv-8cee8279ad4b8aaf5c89056db5a1f9e3575f8eee.tar.bz2
mpv-8cee8279ad4b8aaf5c89056db5a1f9e3575f8eee.tar.xz
stream_bluray: implement navigation interface for Blu-ray stream
This commit introduces new stream protocols: bdnav(and others). bdnav stream shares lots of codes with original bluray stream, so it's not separated in different source file. Major difference from bluray is that bdnav does not support longest title because there is no way to query that information. bdnav://menu and bdnav://first correspond to top menu title and first play title respectively, though they often point same title. Also, binary position based seeking has been removed, because it didn't have no point.
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 1caf6e718c..a7990595d2 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -77,6 +77,7 @@ extern const stream_info_t stream_info_ifo;
extern const stream_info_t stream_info_dvd;
extern const stream_info_t stream_info_dvdnav;
extern const stream_info_t stream_info_bluray;
+extern const stream_info_t stream_info_bdnav;
extern const stream_info_t stream_info_rar_filter;
extern const stream_info_t stream_info_rar_entry;
extern const stream_info_t stream_info_edl;
@@ -114,6 +115,7 @@ static const stream_info_t *const stream_list[] = {
#endif
#if HAVE_LIBBLURAY
&stream_info_bluray,
+ &stream_info_bdnav,
#endif
&stream_info_memory,