Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
425ee6e9
Commit
425ee6e9
authored
Mar 08, 2012
by
Hugo Beauzée-Luyssen
Committed by
Jean-Baptiste Kempf
Mar 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: Store the meta informations in p_sys
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
11e721fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/access/bluray.c
modules/access/bluray.c
+8
-4
No files found.
modules/access/bluray.c
View file @
425ee6e9
...
...
@@ -98,6 +98,9 @@ struct demux_sys_t
unsigned
int
i_longest_title
;
input_title_t
**
pp_title
;
/* Meta informations */
const
META_DL
*
p_meta
;
/* Menus */
bluray_overlay_t
*
p_overlays
[
MAX_OVERLAY
];
int
current_overlay
;
// -1 if no current overlay;
...
...
@@ -242,6 +245,10 @@ static int blurayOpen( vlc_object_t *object )
}
/* Get titles and chapters */
p_sys
->
p_meta
=
bd_get_meta
(
p_sys
->
bluray
);
if
(
!
p_sys
->
p_meta
)
goto
error
;
if
(
blurayInitTitles
(
p_demux
)
!=
VLC_SUCCESS
)
{
goto
error
;
}
...
...
@@ -887,11 +894,8 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
case
DEMUX_GET_META
:
{
const
struct
meta_dl
*
meta
=
bd_get_meta
(
p_sys
->
bluray
);
if
(
!
meta
)
return
VLC_EGENERIC
;
vlc_meta_t
*
p_meta
=
(
vlc_meta_t
*
)
va_arg
(
args
,
vlc_meta_t
*
);
const
META_DL
*
meta
=
p_sys
->
p_meta
;
if
(
!
EMPTY_STR
(
meta
->
di_name
))
vlc_meta_SetTitle
(
p_meta
,
meta
->
di_name
);
...
...
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