Commit e0bbecfc authored by hpi1's avatar hpi1

Remove unnecessary check from _play_bdj()

Fixes current title state and missing BD_EVENT_ERROR.
parent 56960089
- Fix missing BD_EVENT_ERROR when BD-J is not supported.
2014-08-03: Version 0.6.1
- Fix stream position when seamless angle change point is at clip boundary.
- Fix Mac OS X jni compilation
......
......@@ -2846,17 +2846,13 @@ static void _queue_initial_psr_events(BLURAY *bd)
static int _play_bdj(BLURAY *bd, unsigned title)
{
if (!bd->disc_info.bdj_handled) {
BD_DEBUG(DBG_BLURAY | DBG_CRIT, "Can't play BD-J title %d\n", title);
return 0;
}
int result;
bd->title_type = title_bdj;
result = _start_bdj(bd, title);
if (result <= 0) {
BD_DEBUG(DBG_BLURAY | DBG_CRIT, "Can't play BD-J title %d\n", title);
bd->title_type = title_undef;
_queue_event(bd, BD_EVENT_ERROR, BD_ERROR_BDJ);
}
......
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