diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-12-31 18:46:13 +0200 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-12-31 18:46:13 +0200 |
commit | 8275971c95089fd6dcb4e660fd5c075c6401ba7b (patch) | |
tree | 3bda0d3b86d94d3f97dfbb9b86b30d88802ff832 | |
parent | 9152e575ae53aa1c79ec7d41a96add4301af2e21 (diff) | |
download | vdr-plugin-bluray-8275971c95089fd6dcb4e660fd5c075c6401ba7b.tar.gz vdr-plugin-bluray-8275971c95089fd6dcb4e660fd5c075c6401ba7b.tar.bz2 |
Fixed incorrect end of title
-rw-r--r-- | bdplayer.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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"); |