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
aef79d83
Commit
aef79d83
authored
Mar 08, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: Removing useless title management code.
As pointed by fenrir, this is already handled by the core.
parent
bc368cb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
modules/access/bluray.c
modules/access/bluray.c
+2
-11
No files found.
modules/access/bluray.c
View file @
aef79d83
...
...
@@ -148,8 +148,6 @@ static int blurayOpen( vlc_object_t *object )
demux_t
*
p_demux
=
(
demux_t
*
)
object
;
demux_sys_t
*
p_sys
;
char
*
pos_title
;
int
i_title
=
-
1
;
char
bd_path
[
PATH_MAX
]
=
{
'\0'
};
const
char
*
error_msg
=
NULL
;
...
...
@@ -273,16 +271,9 @@ static int blurayOpen( vlc_object_t *object )
/* Registering overlay event handler */
bd_register_overlay_proc
(
p_sys
->
bluray
,
p_demux
,
blurayOverlayProc
);
}
else
{
/* get title request */
if
((
pos_title
=
strrchr
(
bd_path
,
':'
)))
{
/* found character ':' for title information */
*
(
pos_title
++
)
=
'\0'
;
i_title
=
atoi
(
pos_title
);
}
/* set start title number */
if
(
bluraySetTitle
(
p_demux
,
i
_title
)
!=
VLC_SUCCESS
)
{
msg_Err
(
p_demux
,
"Could not set the title %d"
,
i
_title
);
if
(
bluraySetTitle
(
p_demux
,
p_sys
->
i_longest
_title
)
!=
VLC_SUCCESS
)
{
msg_Err
(
p_demux
,
"Could not set the title %d"
,
p_sys
->
i_longest
_title
);
goto
error
;
}
}
...
...
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