Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
93a89a3d
Commit
93a89a3d
authored
Nov 11, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Nov 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: use title names when available
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
8d24164e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/access/bluray.c
modules/access/bluray.c
+6
-0
No files found.
modules/access/bluray.c
View file @
93a89a3d
...
@@ -1424,6 +1424,12 @@ static void blurayInitTitles(demux_t *p_demux, int menu_titles)
...
@@ -1424,6 +1424,12 @@ static void blurayInitTitles(demux_t *p_demux, int menu_titles)
t
->
psz_name
=
strdup
(
_
(
"Top Menu"
));
t
->
psz_name
=
strdup
(
_
(
"Top Menu"
));
}
else
if
(
i
==
i_title
-
1
)
{
}
else
if
(
i
==
i_title
-
1
)
{
t
->
psz_name
=
strdup
(
_
(
"First Play"
));
t
->
psz_name
=
strdup
(
_
(
"First Play"
));
}
else
{
/* add possible title name from disc metadata */
const
BLURAY_DISC_INFO
*
di
=
bd_get_disc_info
(
p_sys
->
bluray
);
if
(
di
&&
di
->
titles
&&
i
<
di
->
num_titles
&&
di
->
titles
[
i
]
->
name
)
{
t
->
psz_name
=
strdup
(
di
->
titles
[
i
]
->
name
);
}
}
}
TAB_APPEND
(
p_sys
->
i_title
,
p_sys
->
pp_title
,
t
);
TAB_APPEND
(
p_sys
->
i_title
,
p_sys
->
pp_title
,
t
);
...
...
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