Updated xine plugin to support BD_EVENT_IDLE
This commit is contained in:
parent
1feae91fe4
commit
2e40d6e5fa
|
@ -640,6 +640,10 @@ static void handle_libbluray_event(bluray_input_plugin_t *this, BD_EVENT ev)
|
|||
}
|
||||
break;
|
||||
|
||||
case BD_EVENT_IDLE:
|
||||
xine_usec_sleep(10000);
|
||||
break;
|
||||
|
||||
/* playback position */
|
||||
|
||||
case BD_EVENT_ANGLE:
|
||||
|
@ -1003,10 +1007,6 @@ static off_t bluray_plugin_read (input_plugin_t *this_gen, void *buf, off_t len)
|
|||
handle_events(this);
|
||||
CHECK_READ_INTERRUPT;
|
||||
}
|
||||
if (result == -1) {
|
||||
xine_usec_sleep(10000);
|
||||
result = 0;
|
||||
}
|
||||
} while (!this->error && result == 0);
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue