Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
af3f3a10
Commit
af3f3a10
authored
Sep 09, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - IM: Add a setRate function.
parent
35c9f06f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+6
-0
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+1
-0
No files found.
modules/gui/qt4/input_manager.cpp
View file @
af3f3a10
...
...
@@ -242,6 +242,12 @@ void InputManager::normalRate()
var_SetInteger
(
p_input
,
"rate"
,
INPUT_RATE_DEFAULT
);
}
void
InputManager
::
setRate
(
int
new_rate
)
{
if
(
hasInput
()
)
var_SetInteger
(
p_input
,
"rate"
,
new_rate
);
}
/**********************************************************************
* MainInputManager implementation. Wrap an input manager and
* take care of updating the main playlist input
...
...
modules/gui/qt4/input_manager.hpp
View file @
af3f3a10
...
...
@@ -55,6 +55,7 @@ public slots:
void
slower
();
void
faster
();
void
normalRate
();
void
setRate
(
int
);
void
sectionNext
();
void
sectionPrev
();
void
sectionMenu
();
...
...
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