Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
a9b5b4a1
Commit
a9b5b4a1
authored
Jun 19, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: fix compilation according to last libbluray commits. (the values can be tuned).
parent
a54c800d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/access/bluray.c
modules/access/bluray.c
+2
-2
No files found.
modules/access/bluray.c
View file @
a9b5b4a1
...
@@ -222,7 +222,7 @@ static int blurayInitTitles(access_t *p_access )
...
@@ -222,7 +222,7 @@ static int blurayInitTitles(access_t *p_access )
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
/* get and set the titles */
/* 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
;
int64_t
duration
=
0
;
for
(
unsigned
int
i
=
0
;
i
<
i_title
;
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
i_title
;
i
++
)
{
...
@@ -230,7 +230,7 @@ static int blurayInitTitles(access_t *p_access )
...
@@ -230,7 +230,7 @@ static int blurayInitTitles(access_t *p_access )
if
(
!
t
)
if
(
!
t
)
break
;
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
)
if
(
!
title_info
)
break
;
break
;
t
->
i_length
=
title_info
->
duration
*
CLOCK_FREQ
/
INT64_C
(
90000
);
t
->
i_length
=
title_info
->
duration
*
CLOCK_FREQ
/
INT64_C
(
90000
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment