diff options
Diffstat (limited to 'stream/stream_bluray.c')
-rw-r--r-- | stream/stream_bluray.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index ffe0200019..a126661e30 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -127,6 +127,11 @@ static int bluray_stream_control(stream_t *s, int cmd, void *arg) return 1; } + case STREAM_CTRL_GET_CURRENT_TITLE: { + *((unsigned int *) arg) = b->current_title; + return 1; + } + case STREAM_CTRL_GET_CURRENT_CHAPTER: { *((unsigned int *) arg) = b->current_chapter; return 1; |