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
fdd6eed1
Commit
fdd6eed1
authored
Feb 21, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: screen-fps is a float, not an integer...
...so allow decimal values.
parent
f47bbde3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+7
-4
modules/gui/qt4/components/open_panels.hpp
modules/gui/qt4/components/open_panels.hpp
+1
-1
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
fdd6eed1
...
...
@@ -1012,13 +1012,16 @@ void CaptureOpenPanel::initialize()
qtr
(
"Desired frame rate for the capture."
)
);
screenPropLayout
->
addWidget
(
screenFPSLabel
,
0
,
0
);
screenFPS
=
new
QSpinBox
;
screenFPS
->
setValue
(
1
);
screenFPS
=
new
QDoubleSpinBox
;
screenFPS
->
setValue
(
1.
);
screenFPS
->
setRange
(
.01
,
100.
);
screenFPS
->
setAlignment
(
Qt
::
AlignRight
);
/* xgettext: frames per second */
screenFPS
->
setSuffix
(
qtr
(
" f/s"
)
);
screenPropLayout
->
addWidget
(
screenFPS
,
0
,
1
);
/* Screen connect */
CuMRL
(
screenFPS
,
valueChanged
(
int
)
);
CuMRL
(
screenFPS
,
valueChanged
(
double
)
);
/* General connects */
CONNECT
(
ui
.
deviceCombo
,
activated
(
int
)
,
...
...
@@ -1136,7 +1139,7 @@ void CaptureOpenPanel::updateMRL()
#endif
case
SCREEN_DEVICE
:
fileList
<<
"screen://"
;
mrl
=
" :screen-fps="
+
QString
::
number
(
screenFPS
->
value
()
);
mrl
=
" :screen-fps="
+
QString
::
number
(
screenFPS
->
value
()
,
'f'
);
emit
methodChanged
(
"screen-caching"
);
updateButtons
();
break
;
...
...
modules/gui/qt4/components/open_panels.hpp
View file @
fdd6eed1
...
...
@@ -198,7 +198,7 @@ private:
QCheckBox
*
jackPace
,
*
jackConnect
;
QLineEdit
*
jackPortsSelected
;
#endif
QSpinBox
*
screenFPS
;
Q
Double
SpinBox
*
screenFPS
;
public
slots
:
virtual
void
updateMRL
();
...
...
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