Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6894acd7
Commit
6894acd7
authored
Mar 02, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: display the correct rate
Close #3368
parent
0900cd7c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-1
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+3
-3
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
6894acd7
...
...
@@ -430,7 +430,7 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent )
DCONNECT
(
THEMIM
,
inputChanged
(
input_thread_t
*
),
speedControl
,
activateOnState
()
);
setRate
(
INPUT_RATE_DEFAULT
);
setRate
(
INPUT_RATE_DEFAULT
/
var_InheritFloat
(
p_intf
,
"rate"
)
);
}
SpeedLabel
::~
SpeedLabel
()
...
...
modules/gui/qt4/input_manager.cpp
View file @
6894acd7
...
...
@@ -117,7 +117,7 @@ void InputManager::setInput( input_thread_t *_p_input )
p_input
=
NULL
;
p_item
=
NULL
;
assert
(
!
p_input_vbi
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
/
var_InheritFloat
(
p_intf
,
"rate"
)
);
}
}
...
...
@@ -148,7 +148,7 @@ void InputManager::delInput()
p_input
=
NULL
;
emit
positionUpdated
(
-
1.0
,
0
,
0
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
);
/* TODO: Do we want this ? */
emit
rateChanged
(
INPUT_RATE_DEFAULT
/
var_InheritFloat
(
p_intf
,
"rate"
)
);
emit
nameChanged
(
""
);
emit
chapterChanged
(
0
);
emit
titleChanged
(
0
);
...
...
@@ -587,7 +587,7 @@ void InputManager::UpdateCaching()
if
(
f_newCache
!=
f_cache
)
{
f_cache
=
f_newCache
;
/* Update
rat
e */
/* Update
cach
e */
emit
cachingChanged
(
f_cache
);
}
}
...
...
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