summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdplayer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bdplayer.c b/bdplayer.c
index 96a31a7..631bfcd 100644
--- a/bdplayer.c
+++ b/bdplayer.c
@@ -146,9 +146,10 @@ bool cBDPlayer::DoRead()
packs = bd_read_ext(bd, buffer, ALIGNED_UNIT_SIZE, &ev);
if (packs == 0) {
- // EOF
- isyslog("End of title");
- Cancel(-1);
+ if (ev.event == BD_EVENT_NONE) {
+ // title without video
+ cCondWait::SleepMs(3);
+ }
} else if (packs < 0) {
// ERROR
esyslog("bd_read() error");