1
0
Fork 0

Added BD_EVENT_IDLE: BD-J title running but no playlist playing

This commit is contained in:
hpi1 2013-02-05 14:03:35 +02:00
parent 6cfbfb3f9c
commit 1feae91fe4
2 changed files with 10 additions and 1 deletions

View File

@ -2786,6 +2786,12 @@ static int _read_ext(BLURAY *bd, unsigned char *buf, int len, BD_EVENT *event)
return 0;
}
if (!bd->title && bd->title_type == title_bdj) {
/* BD-J title running but no playlist playing */
_queue_event(bd, BD_EVENT_IDLE, 0);
return 0;
}
int bytes = bd_read(bd, buf, len);
if (bytes == 0) {

View File

@ -589,6 +589,9 @@ typedef enum {
* status
*/
/* Nothing to do. Playlist is not playing, but title applet is running. */
BD_EVENT_IDLE = 29,
/* Pop-Up menu available */
BD_EVENT_POPUP = 25, /* 0 - no, 1 - yes */
@ -598,7 +601,7 @@ typedef enum {
/* 3D */
BD_EVENT_STEREOSCOPIC_STATUS = 27, /* 0 - 2D, 1 - 3D */
/*BD_EVENT_LAST = 28, */
/*BD_EVENT_LAST = 29, */
} bd_event_e;