[vlc-commits] bluray: fix compilation according to last libbluray commits. ( the values can be tuned).
Rémi Duraffort
git at videolan.org
Sun Jun 19 14:13:07 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jun 19 14:12:24 2011 +0200| [a9b5b4a11106fd92749b55d282b1c6f523eba025] | committer: Rémi Duraffort
bluray: fix compilation according to last libbluray commits. (the values can be tuned).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9b5b4a11106fd92749b55d282b1c6f523eba025
---
modules/access/bluray.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index e82d736..98d9e98 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -222,7 +222,7 @@ static int blurayInitTitles(access_t *p_access )
access_sys_t *p_sys = p_access->p_sys;
/* get and set the titles */
- unsigned i_title = bd_get_titles(p_sys->bluray, TITLES_RELEVANT);
+ unsigned i_title = bd_get_titles(p_sys->bluray, TITLES_RELEVANT, 0);
int64_t duration = 0;
for (unsigned int i = 0; i < i_title; i++) {
@@ -230,7 +230,7 @@ static int blurayInitTitles(access_t *p_access )
if (!t)
break;
- BLURAY_TITLE_INFO *title_info = bd_get_title_info(p_sys->bluray,i);
+ BLURAY_TITLE_INFO *title_info = bd_get_title_info(p_sys->bluray, i, 0);
if (!title_info)
break;
t->i_length = title_info->duration * CLOCK_FREQ / INT64_C(90000);
More information about the vlc-commits
mailing list