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
a67e449b
Commit
a67e449b
authored
Mar 26, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: rename modulation box to QAM box, and try to fix build
(we might need a PSK box later)
parent
9fcda59c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+13
-13
modules/gui/qt4/components/open_panels.hpp
modules/gui/qt4/components/open_panels.hpp
+2
-1
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
a67e449b
...
...
@@ -984,17 +984,17 @@ void CaptureOpenPanel::initialize()
dvbModLabel
=
new
QLabel
(
qtr
(
"Modulation / Constellation"
)
);
dvbPropLayout
->
addWidget
(
dvbModLabel
,
2
,
0
);
dvb
Mod
Box
=
new
QComboBox
;
dvb
Mod
Box
->
addItem
(
qtr
(
"Automatic"
),
0
);
dvb
Mod
Box
->
addItem
(
"256-QAM"
,
256
);
dvb
Mod
Box
->
addItem
(
"128-QAM"
,
128
);
dvb
Mod
Box
->
addItem
(
"64-QAM"
,
64
);
dvb
Mod
Box
->
addItem
(
"32-QAM"
,
32
);
dvb
Mod
Box
->
addItem
(
"16-QAM"
,
16
);
dvbPropLayout
->
addWidget
(
dvb
Mod
Box
,
2
,
1
);
dvb
Qam
Box
=
new
QComboBox
;
dvb
Qam
Box
->
addItem
(
qtr
(
"Automatic"
),
0
);
dvb
Qam
Box
->
addItem
(
"256-QAM"
,
256
);
dvb
Qam
Box
->
addItem
(
"128-QAM"
,
128
);
dvb
Qam
Box
->
addItem
(
"64-QAM"
,
64
);
dvb
Qam
Box
->
addItem
(
"32-QAM"
,
32
);
dvb
Qam
Box
->
addItem
(
"16-QAM"
,
16
);
dvbPropLayout
->
addWidget
(
dvb
Qam
Box
,
2
,
1
);
dvbModLabel
->
hide
();
dvb
Mod
Box
->
hide
();
dvb
Qam
Box
->
hide
();
dvbBandLabel
=
new
QLabel
(
qtr
(
"Bandwidth"
)
);
dvbPropLayout
->
addWidget
(
dvbBandLabel
,
2
,
0
);
...
...
@@ -1013,7 +1013,7 @@ void CaptureOpenPanel::initialize()
CuMRL
(
dvbCard
,
valueChanged
(
int
)
);
CuMRL
(
dvbFreq
,
valueChanged
(
int
)
);
CuMRL
(
dvbSrate
,
valueChanged
(
int
)
);
CuMRL
(
dvb
Mod
Box
,
currentIndexChanged
(
int
)
);
CuMRL
(
dvb
Qam
Box
,
currentIndexChanged
(
int
)
);
CuMRL
(
dvbBandBox
,
currentIndexChanged
(
int
)
);
BUTTONACT
(
dvbs
,
updateButtons
()
);
...
...
@@ -1141,7 +1141,7 @@ void CaptureOpenPanel::updateMRL()
if
(
dvbc
->
isChecked
()
||
cqam
->
isChecked
()
)
{
unsigned
qam
=
dvb
ModBox
->
itemData
(
dvbMod
Box
->
currentIndex
()
).
toInt
();
dvb
QamBox
->
itemData
(
dvbQam
Box
->
currentIndex
()
).
toInt
();
if
(
qam
!=
0
)
mrl
+=
":modulation="
+
QString
::
number
(
qam
)
+
"QAM"
;
mrl
+=
":srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
...
...
@@ -1187,7 +1187,7 @@ void CaptureOpenPanel::updateButtons()
case
DTV_DEVICE
:
dvbSrate
->
hide
();
dvbSrateLabel
->
hide
();
dvb
Mod
Box
->
hide
();
dvb
Qam
Box
->
hide
();
dvbModLabel
->
hide
();
dvbBandBox
->
hide
();
dvbBandLabel
->
hide
();
...
...
@@ -1196,7 +1196,7 @@ void CaptureOpenPanel::updateButtons()
{
dvbSrate
->
show
();
dvbSrateLabel
->
show
();
dvb
Mod
Box
->
show
();
dvb
Qam
Box
->
show
();
dvbModLabel
->
show
();
}
else
if
(
dvbs
->
isChecked
()
)
...
...
modules/gui/qt4/components/open_panels.hpp
View file @
a67e449b
...
...
@@ -207,7 +207,7 @@ private:
QSpinBox
*
pvrFreq
,
*
pvrBitr
;
QComboBox
*
v4l2VideoDevice
,
*
v4l2AudioDevice
;
QLineEdit
*
pvrDevice
,
*
pvrRadioDevice
;
QComboBox
*
v4l2StdBox
,
*
pvrNormBox
,
*
dvbModBox
,
*
dvbBandBox
;
QComboBox
*
v4l2StdBox
,
*
pvrNormBox
;
QSpinBox
*
jackChannels
,
*
jackCaching
;
QCheckBox
*
jackPace
,
*
jackConnect
;
QLineEdit
*
jackPortsSelected
;
...
...
@@ -215,6 +215,7 @@ private:
#endif
QRadioButton
*
dvbs
,
*
dvbt
,
*
dvbc
,
*
atsc
,
*
cqam
;
QLabel
*
dvbBandLabel
,
*
dvbSrateLabel
,
*
dvbModLabel
;
QComboBox
*
dvbQamBox
,
*
dvbBandBox
;
QSpinBox
*
dvbCard
,
*
dvbFreq
,
*
dvbSrate
;
QDoubleSpinBox
*
screenFPS
;
...
...
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