$(eval $(call import.MODULE.defs,LIBBLURAY,libbluray,LIBXML2))
$(eval $(call import.CONTRIB.defs,LIBBLURAY))
-LIBBLURAY.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libbluray-0.0.1-pre-129-g67ee7bc.tar.gz
+LIBBLURAY.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libbluray-0.0.1-pre-213-ga869da8.tar.gz
LIBBLURAY.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; ./bootstrap;
int ii;
uint64_t longest_duration = 0;
int highest_rank = 0;
+ int most_chapters = 0;
int rank[8] = {0, 1, 3, 2, 6, 5, 7, 4};
BLURAY_TITLE_INFO * ti;
longest = title->index;
longest_duration = title->duration;
highest_rank = rank[bdvideo->format];
+ most_chapters = ti->chapter_count;
+ }
+ else if (highest_rank == rank[bdvideo->format] &&
+ title->duration == longest_duration &&
+ ti->chapter_count > most_chapters)
+ {
+ longest = title->index;
+ most_chapters = ti->chapter_count;
}
}
bd_free_title_info( ti );
hb_deep_log(2, "bd: Playitem %u", event.param);
break;
+ case BD_EVENT_STILL:
+ bd_read_skip_still( d->bd );
+ break;
+
default:
break;
}
return 0;
}
-char * str_printf(const char *fmt, ...)
+static char * str_printf(const char *fmt, ...)
{
/* Guess we need no more than 100 bytes. */
int len;