Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
libbluray
Commits
8cd02fcf
Commit
8cd02fcf
authored
Apr 08, 2010
by
j45
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add simple angle selection with bd_select_angle()
does not yet do seamless angle changes.
parent
2894fbf4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/bluray.c
src/bluray.c
+10
-0
No files found.
src/bluray.c
View file @
8cd02fcf
...
@@ -366,6 +366,16 @@ int bd_select_title(BLURAY *bd, uint32_t title_idx)
...
@@ -366,6 +366,16 @@ int bd_select_title(BLURAY *bd, uint32_t title_idx)
return
0
;
return
0
;
}
}
int
bd_select_angle
(
BLURAY
*
bd
,
int
angle
)
{
if
(
bd
->
title
==
NULL
)
{
DEBUG
(
DBG_BLURAY
,
"Title not yet selected! (%p)
\n
"
,
bd
);
return
0
;
}
bd
->
clip
=
nav_set_angle
(
bd
->
title
,
bd
->
clip
,
angle
);
return
1
;
}
uint64_t
bd_get_title_size
(
BLURAY
*
bd
)
uint64_t
bd_get_title_size
(
BLURAY
*
bd
)
{
{
return
bd
?
bd
->
s_size
:
UINT64_C
(
0
);
return
bd
?
bd
->
s_size
:
UINT64_C
(
0
);
...
...
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