[libbluray-devel] Be noisy when bd_play_title() or bd_menu_call() is misused
hpi1
git at videolan.org
Sat Apr 30 13:41:13 CEST 2011
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sat Apr 30 14:39:15 2011 +0300| [794bae738c6a05188797d12d9bde2882f774256a] | committer: hpi1
Be noisy when bd_play_title() or bd_menu_call() is misused
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=794bae738c6a05188797d12d9bde2882f774256a
---
src/libbluray/bluray.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 38d1ee1..43b5119 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1871,7 +1871,7 @@ int bd_play(BLURAY *bd)
int bd_play_title(BLURAY *bd, unsigned title)
{
if (bd->title_type == title_undef && title != BLURAY_TITLE_FIRST_PLAY) {
- // bd_play not called
+ BD_DEBUG(DBG_BLURAY|DBG_CRIT, "bd_play_title(): bd_play() not called\n");
return 0;
}
@@ -1892,7 +1892,7 @@ int bd_menu_call(BLURAY *bd, int64_t pts)
}
if (bd->title_type == title_undef) {
- // bd_play not called
+ BD_DEBUG(DBG_BLURAY|DBG_CRIT, "bd_menu_call(): bd_play() not called\n");
return 0;
}
More information about the libbluray-devel
mailing list