Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
458
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
a67e449b
Commit
a67e449b
authored
14 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
Qt4: rename modulation box to QAM box, and try to fix build
(we might need a PSK box later)
parent
9fcda59c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/gui/qt4/components/open_panels.cpp
+13
-13
13 additions, 13 deletions
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.hpp
+2
-1
2 additions, 1 deletion
modules/gui/qt4/components/open_panels.hpp
with
15 additions
and
14 deletions
modules/gui/qt4/components/open_panels.cpp
+
13
−
13
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
Mod
Box
->
itemData
(
dvb
Mod
Box
->
currentIndex
()
).
toInt
();
dvb
Qam
Box
->
itemData
(
dvb
Qam
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
()
)
...
...
This diff is collapsed.
Click to expand it.
modules/gui/qt4/components/open_panels.hpp
+
2
−
1
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment