Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
32d98df6
Commit
32d98df6
authored
Mar 08, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input.c: allow "intelligent" previous-chapter behaviour for access sources too
parent
98f16ed7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
src/input/input.c
src/input/input.c
+14
-1
No files found.
src/input/input.c
View file @
32d98df6
...
...
@@ -1525,9 +1525,22 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
{
access_t
*
p_access
=
p_input
->
input
.
p_access
;
int
i_seekpoint
;
mtime_t
i_input_time
;
mtime_t
i_seekpoint_time
;
if
(
i_type
==
INPUT_CONTROL_SET_SEEKPOINT_PREV
)
i_seekpoint
=
p_access
->
info
.
i_seekpoint
-
1
;
{
i_seekpoint
=
p_access
->
info
.
i_seekpoint
;
i_seekpoint_time
=
p_input
->
input
.
title
[
p_access
->
info
.
i_title
]
->
seekpoint
[
i_seekpoint
]
->
i_time_offset
;
if
(
i_seekpoint_time
!=
-
1
)
{
access2_Control
(
p_access
,
INPUT_GET_TIME
,
&
i_input_time
);
if
(
i_input_time
<
i_seekpoint_time
+
3000000
)
i_seekpoint
--
;
}
else
i_seekpoint
--
;
}
else
if
(
i_type
==
INPUT_CONTROL_SET_SEEKPOINT_NEXT
)
i_seekpoint
=
p_access
->
info
.
i_seekpoint
+
1
;
else
...
...
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