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
894f53f2
Commit
894f53f2
authored
Aug 07, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVDnav: correctly update the title
Close #6013
parent
a410f1a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
modules/access/dvdnav.c
modules/access/dvdnav.c
+10
-5
No files found.
modules/access/dvdnav.c
View file @
894f53f2
...
@@ -813,14 +813,19 @@ static int Demux( demux_t *p_demux )
...
@@ -813,14 +813,19 @@ static int Demux( demux_t *p_demux )
if
(
dvdnav_current_title_info
(
p_sys
->
dvdnav
,
&
i_title
,
if
(
dvdnav_current_title_info
(
p_sys
->
dvdnav
,
&
i_title
,
&
i_part
)
==
DVDNAV_STATUS_OK
)
&
i_part
)
==
DVDNAV_STATUS_OK
)
{
{
if
(
i_title
>=
0
&&
i_title
<
p_sys
->
i_title
&&
if
(
i_title
>=
0
&&
i_title
<
p_sys
->
i_title
)
i_part
>=
1
&&
i_part
<=
p_sys
->
title
[
i_title
]
->
i_seekpoint
&&
{
p_demux
->
info
.
i_update
|=
INPUT_UPDATE_TITLE
;
p_demux
->
info
.
i_title
=
i_title
;
if
(
i_part
>=
1
&&
i_part
<=
p_sys
->
title
[
i_title
]
->
i_seekpoint
&&
p_demux
->
info
.
i_seekpoint
!=
i_part
-
1
)
p_demux
->
info
.
i_seekpoint
!=
i_part
-
1
)
{
{
p_demux
->
info
.
i_update
|=
INPUT_UPDATE_SEEKPOINT
;
p_demux
->
info
.
i_update
|=
INPUT_UPDATE_SEEKPOINT
;
p_demux
->
info
.
i_seekpoint
=
i_part
-
1
;
p_demux
->
info
.
i_seekpoint
=
i_part
-
1
;
}
}
}
}
}
break
;
break
;
}
}
...
...
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