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
f49bf989
Commit
f49bf989
authored
Aug 02, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* hotkeys.c: add some more OSD
parent
1c7da3ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/control/hotkeys.c
modules/control/hotkeys.c
+7
-0
No files found.
modules/control/hotkeys.c
View file @
f49bf989
...
...
@@ -322,6 +322,9 @@ static void Run( intf_thread_t *p_intf )
FIND_ANYWHERE
);
if
(
p_playlist
)
{
ClearChannels
(
p_intf
,
p_vout
);
vout_OSDIcon
(
VLC_OBJECT
(
p_intf
),
DEFAULT_CHAN
,
OSD_PAUSE_ICON
);
playlist_Play
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
...
...
@@ -493,6 +496,7 @@ static void Run( intf_thread_t *p_intf )
FIND_ANYWHERE
);
if
(
p_playlist
)
{
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Next"
)
);
playlist_Next
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
...
...
@@ -503,6 +507,7 @@ static void Run( intf_thread_t *p_intf )
FIND_ANYWHERE
);
if
(
p_playlist
)
{
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Previous"
)
);
playlist_Prev
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
...
...
@@ -521,11 +526,13 @@ static void Run( intf_thread_t *p_intf )
{
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_input
,
"rate-faster"
,
val
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Faster"
)
);
}
else
if
(
i_action
==
ACTIONID_SLOWER
)
{
vlc_value_t
val
;
val
.
b_bool
=
VLC_TRUE
;
var_Set
(
p_input
,
"rate-slower"
,
val
);
vout_OSDMessage
(
VLC_OBJECT
(
p_input
),
DEFAULT_CHAN
,
_
(
"Slower"
)
);
}
else
if
(
i_action
==
ACTIONID_POSITION
&&
b_seekable
)
{
...
...
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