From 8275971c95089fd6dcb4e660fd5c075c6401ba7b Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Mon, 31 Dec 2012 18:46:13 +0200 Subject: Fixed incorrect end of title --- bdplayer.c | 7 ++++--- 1 file 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"); -- cgit v1.2.3