diff options
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r-- | stream/stream_dvd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 05492ce490..689e773c9d 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -643,6 +643,11 @@ static int control(stream_t *stream,int cmd,void* arg) return 1; } + case STREAM_CTRL_GET_CURRENT_TITLE: + { + *((unsigned int *)arg) = d->cur_title - 1; + return 1; + } case STREAM_CTRL_GET_CURRENT_CHAPTER: { *((unsigned int *)arg) = dvd_chapter_from_cell(d, d->cur_title-1, d->cur_cell); |