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
f79d566e
Commit
f79d566e
authored
Mar 13, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "play only" hotkey when playlist is stopped (i.e. no input)
This fixes #3377.
parent
88e98172
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
modules/control/hotkeys.c
modules/control/hotkeys.c
+13
-13
No files found.
modules/control/hotkeys.c
View file @
f79d566e
...
@@ -313,6 +313,19 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
...
@@ -313,6 +313,19 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
playlist_Play
(
p_playlist
);
playlist_Play
(
p_playlist
);
break
;
break
;
case
ACTIONID_PLAY
:
if
(
p_input
&&
var_GetFloat
(
p_input
,
"rate"
)
!=
1
.
)
/* Return to normal speed */
var_SetFloat
(
p_input
,
"rate"
,
1
.
);
else
{
ClearChannels
(
p_intf
,
p_vout
);
vout_OSDIcon
(
VLC_OBJECT
(
p_intf
),
DEFAULT_CHAN
,
OSD_PLAY_ICON
);
playlist_Play
(
p_playlist
);
}
break
;
case
ACTIONID_AUDIODEVICE_CYCLE
:
case
ACTIONID_AUDIODEVICE_CYCLE
:
{
{
if
(
!
p_aout
)
if
(
!
p_aout
)
...
@@ -825,19 +838,6 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
...
@@ -825,19 +838,6 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
_
(
"Audio delay %i ms"
),
_
(
"Audio delay %i ms"
),
(
int
)(
i_delay
/
1000
)
);
(
int
)(
i_delay
/
1000
)
);
}
}
else
if
(
i_action
==
ACTIONID_PLAY
)
{
if
(
var_GetFloat
(
p_input
,
"rate"
)
!=
1
.
)
/* Return to normal speed */
var_SetFloat
(
p_input
,
"rate"
,
1
.
);
else
{
ClearChannels
(
p_intf
,
p_vout
);
vout_OSDIcon
(
VLC_OBJECT
(
p_intf
),
DEFAULT_CHAN
,
OSD_PLAY_ICON
);
playlist_Play
(
p_playlist
);
}
}
else
if
(
i_action
==
ACTIONID_MENU_ON
)
else
if
(
i_action
==
ACTIONID_MENU_ON
)
{
{
osd_MenuShow
(
VLC_OBJECT
(
p_intf
)
);
osd_MenuShow
(
VLC_OBJECT
(
p_intf
)
);
...
...
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