summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.h1
-rw-r--r--stream/stream_bluray.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index e64baf07c6..9361884657 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -35,6 +35,7 @@ enum streamtype {
STREAMTYPE_RADIO,
STREAMTYPE_DVB,
STREAMTYPE_DVD,
+ STREAMTYPE_BLURAY,
STREAMTYPE_PVR,
STREAMTYPE_TV,
STREAMTYPE_MF,
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c
index 56cbee42d1..d7a8d0b0cf 100644
--- a/stream/stream_bluray.c
+++ b/stream/stream_bluray.c
@@ -390,6 +390,7 @@ err_no_info:
b->current_angle = angle;
b->current_title = title;
+ s->type = STREAMTYPE_BLURAY;
s->end_pos = title_size;
s->sector_size = BLURAY_SECTOR_SIZE;
s->flags = MP_STREAM_SEEK;