1
0
Fork 0

Updated xine plugin to support BD_EVENT_IDLE

This commit is contained in:
hpi1 2013-02-05 22:14:32 +02:00
parent 1feae91fe4
commit 2e40d6e5fa
1 changed files with 4 additions and 4 deletions

View File

@ -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 {