Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ac732954
Commit
ac732954
authored
Sep 10, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Screen-FPS spinBox to control fps from the UI... Else it is pretty useless..
parent
3cc0b620
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+11
-1
modules/gui/qt4/components/open_panels.hpp
modules/gui/qt4/components/open_panels.hpp
+1
-0
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
ac732954
...
...
@@ -953,6 +953,15 @@ void CaptureOpenPanel::initialize()
screenLabel
->
setWordWrap
(
true
);
screenDevLayout
->
addWidget
(
screenLabel
,
0
,
0
);
QLabel
*
screenFPSLabel
=
new
QLabel
(
qtr
(
"Desired frame rate for the capture."
)
);
screenPropLayout
->
addWidget
(
screenFPSLabel
,
0
,
0
);
screenFPS
=
new
QSpinBox
;
screenFPS
->
setValue
(
1
);
screenFPS
->
setAlignment
(
Qt
::
AlignRight
);
screenPropLayout
->
addWidget
(
screenFPS
,
0
,
1
);
/* General connects */
CONNECT
(
ui
.
deviceCombo
,
activated
(
int
)
,
stackedDevLayout
,
setCurrentIndex
(
int
)
);
...
...
@@ -1048,6 +1057,7 @@ void CaptureOpenPanel::updateMRL()
#endif
case
SCREEN_DEVICE
:
mrl
=
"screen://"
;
mrl
+=
" :screen-fps="
+
QString
(
"%1"
).
arg
(
screenFPS
->
value
()
);
updateButtons
();
break
;
}
...
...
@@ -1096,7 +1106,7 @@ void CaptureOpenPanel::updateButtons()
break
;
#endif
case
SCREEN_DEVICE
:
ui
.
optionsBox
->
hide
();
//
ui.optionsBox->hide();
ui
.
advancedButton
->
hide
();
break
;
}
...
...
modules/gui/qt4/components/open_panels.hpp
View file @
ac732954
...
...
@@ -202,6 +202,7 @@ private:
QCheckBox
*
jackPace
,
*
jackConnect
;
QLineEdit
*
jackPortsSelected
;
#endif
QSpinBox
*
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