libbluray | branch: master | hpi1 <[email protected]> | Mon Apr 14 12:14:50 2014 +0300| [55e658036332290df65bf29c106d37ccc4b50378] | committer: hpi1
Log seek failures > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=55e658036332290df65bf29c106d37ccc4b50378 --- src/libbluray/bluray.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c index 28bc521..d7074b9 100644 --- a/src/libbluray/bluray.c +++ b/src/libbluray/bluray.c @@ -1528,6 +1528,9 @@ int64_t bd_seek_time(BLURAY *bd, uint64_t tick) clip = nav_time_search(bd->title, tick, &clip_pkt, &out_pkt); _seek_internal(bd, clip, out_pkt, clip_pkt); + + } else { + BD_DEBUG(DBG_BLURAY | DBG_CRIT, "bd_seek_time(%u) failed\n", (unsigned int)tick); } bd_mutex_unlock(&bd->mutex); @@ -1570,6 +1573,9 @@ int64_t bd_seek_chapter(BLURAY *bd, unsigned chapter) clip = nav_chapter_search(bd->title, chapter, &clip_pkt, &out_pkt); _seek_internal(bd, clip, out_pkt, clip_pkt); + + } else { + BD_DEBUG(DBG_BLURAY | DBG_CRIT, "bd_seek_chapter(%u) failed\n", chapter); } bd_mutex_unlock(&bd->mutex); @@ -1629,6 +1635,9 @@ int64_t bd_seek_playitem(BLURAY *bd, unsigned clip_ref) out_pkt = clip->pos; _seek_internal(bd, clip, out_pkt, clip_pkt); + + } else { + BD_DEBUG(DBG_BLURAY | DBG_CRIT, "bd_seek_playitem(%u) failed\n", clip_ref); } bd_mutex_unlock(&bd->mutex); @@ -1652,6 +1661,9 @@ int64_t bd_seek_mark(BLURAY *bd, unsigned mark) clip = nav_mark_search(bd->title, mark, &clip_pkt, &out_pkt); _seek_internal(bd, clip, out_pkt, clip_pkt); + + } else { + BD_DEBUG(DBG_BLURAY | DBG_CRIT, "bd_seek_mark(%u) failed\n", mark); } bd_mutex_unlock(&bd->mutex); _______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
