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
86e1fbd0
Commit
86e1fbd0
authored
Feb 10, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotkeys: use the return value of var_ToggleBool.
parent
9ee5f674
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/control/hotkeys.c
modules/control/hotkeys.c
+1
-2
No files found.
modules/control/hotkeys.c
View file @
86e1fbd0
...
@@ -869,13 +869,12 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
...
@@ -869,13 +869,12 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
{
{
if
(
var_GetBool
(
p_input
,
"can-record"
)
)
if
(
var_GetBool
(
p_input
,
"can-record"
)
)
{
{
const
bool
b_record
=
!
var_Get
Bool
(
p_input
,
"record"
);
const
bool
b_record
=
var_Toggle
Bool
(
p_input
,
"record"
);
if
(
b_record
)
if
(
b_record
)
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Recording"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Recording"
)
);
else
else
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Recording done"
)
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
"%s"
,
_
(
"Recording done"
)
);
var_SetBool
(
p_input
,
"record"
,
b_record
);
}
}
}
}
}
}
...
...
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