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
75208d54
Commit
75208d54
authored
Oct 16, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure to get the right unit
parent
59f25960
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/control/hotkeys.c
modules/control/hotkeys.c
+10
-10
No files found.
modules/control/hotkeys.c
View file @
75208d54
...
...
@@ -462,49 +462,49 @@ static void Run( intf_thread_t *p_intf )
}
else
if
(
i_action
==
ACTIONID_JUMP_BACKWARD_3SEC
&&
b_seekable
)
{
val
.
i_time
=
(
-
3000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
-
3000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_FORWARD_3SEC
&&
b_seekable
)
{
val
.
i_time
=
(
3000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
3000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_BACKWARD_10SEC
&&
b_seekable
)
{
val
.
i_time
=
(
-
10000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
-
10000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_FORWARD_10SEC
&&
b_seekable
)
{
val
.
i_time
=
(
10000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
10000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_BACKWARD_1MIN
&&
b_seekable
)
{
val
.
i_time
=
(
-
60000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
-
60000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_FORWARD_1MIN
&&
b_seekable
)
{
val
.
i_time
=
(
60000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
60000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_BACKWARD_5MIN
&&
b_seekable
)
{
val
.
i_time
=
(
-
300000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
-
300000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
else
if
(
i_action
==
ACTIONID_JUMP_FORWARD_5MIN
&&
b_seekable
)
{
val
.
i_time
=
(
300000000
*
((
mtime_t
)(
1
<<
i_times
)));
val
.
i_time
=
(
300000000
L
*
((
mtime_t
)(
1
<<
i_times
)));
var_Set
(
p_input
,
"time-offset"
,
val
);
DisplayPosition
(
p_intf
,
p_vout
,
p_input
);
}
...
...
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