Commit 794bae73 authored by hpi1's avatar hpi1

Be noisy when bd_play_title() or bd_menu_call() is misused

parent 8b866642
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment