Added BD_EVENT_IDLE: BD-J title running but no playlist playing
This commit is contained in:
parent
6cfbfb3f9c
commit
1feae91fe4
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue