diff options
author | phintuka <phintuka> | 2010-06-13 20:41:49 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-06-13 20:41:49 +0000 |
commit | 5498f995212cf0c1cea46136fc1ed2cdec099bf4 (patch) | |
tree | e163cb922c73670b9e56d2b9f44ea5829c7792dd | |
parent | d50b3f2218de6396313b861ff8ca32789881a1d3 (diff) | |
download | xineliboutput-5498f995212cf0c1cea46136fc1ed2cdec099bf4.tar.gz xineliboutput-5498f995212cf0c1cea46136fc1ed2cdec099bf4.tar.bz2 |
Support changing titles
-rw-r--r-- | xine/BluRay/input_bluray.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 0dce7c51..290e292d 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -182,6 +182,16 @@ static void handle_events(bluray_input_plugin_t *this) switch (event->type) { + case XINE_EVENT_INPUT_NEXT: + lprintf("XINE_EVENT_INPUT_NEXT: next title\n"); + open_title(this, MAX(0, this->current_title-1)); + break; + + case XINE_EVENT_INPUT_PREVIOUS: + lprintf("XINE_EVENT_INPUT_PREVIOUS: previous title\n"); + open_title(this, MIN(this->num_titles, this->current_title+1)); + break; + case XINE_EVENT_INPUT_ANGLE_NEXT: { int angle = MIN(8, this->bdh->angle - 1); lprintf("XINE_EVENT_INPUT_ANGLE_NEXT: set angle %d --> %d\n", this->bdh->angle, angle); |