Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a879bc58
Commit
a879bc58
authored
Mar 24, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: update DVB dialog for the new plugin
parent
3e5e98f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+7
-13
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
a879bc58
...
...
@@ -68,7 +68,7 @@
.replaceInStrings( QRegExp("^"), "/dev/" ) \
);
static
const
char
*
psz_devModule
[]
=
{
"v4l2"
,
"pvr"
,
"dvb
"
,
"bda"
,
static
const
char
psz_devModule
[][
8
]
=
{
"v4l2"
,
"pvr"
,
"dtv
"
,
"bda"
,
"dshow"
,
"screen"
,
"jack"
};
/**************************************************************************
...
...
@@ -1004,8 +1004,8 @@ void CaptureOpenPanel::initialize()
/**************
* DVB Stuffs *
**************/
if
(
module_exists
(
"d
vb
"
)
){
addModuleAndLayouts
(
DVB_DEVICE
,
dvb
,
"DVB"
,
QGridLayout
);
if
(
module_exists
(
"d
tv
"
)
){
addModuleAndLayouts
(
DVB_DEVICE
,
dvb
,
N_
(
"TV (digital)"
)
,
QGridLayout
);
/* DVB Main */
QLabel
*
dvbDeviceLabel
=
new
QLabel
(
qtr
(
"Adapter card to tune"
)
);
...
...
@@ -1068,14 +1068,7 @@ void CaptureOpenPanel::initialize()
dvbPropLayout
->
addWidget
(
dvbBandLabel
,
2
,
0
);
dvbBandBox
=
new
QComboBox
;
/* This doesn't work since dvb-bandwidth doesn't seem to be a
list of Integers
setfillVLCConfigCombo( "dvb-bandwidth", p_intf, bdaBandBox );
*/
dvbBandBox
->
addItem
(
qtr
(
"Auto"
),
0
);
dvbBandBox
->
addItem
(
qtr
(
"6 MHz"
),
6
);
dvbBandBox
->
addItem
(
qtr
(
"7 MHz"
),
7
);
dvbBandBox
->
addItem
(
qtr
(
"8 MHz"
),
8
);
setfillVLCConfigCombo
(
"dvb-bandwidth"
,
p_intf
,
dvbBandBox
);
dvbPropLayout
->
addWidget
(
dvbBandBox
,
2
,
1
);
dvbBandLabel
->
hide
();
...
...
@@ -1226,15 +1219,16 @@ void CaptureOpenPanel::updateMRL()
if
(
dvbt
->
isChecked
()
)
mrl
=
"dvb-t://"
;
mrl
+=
"frequency="
+
QString
::
number
(
dvbFreq
->
value
()
);
if
(
dvbc
->
isChecked
()
||
dvbt
->
isChecked
()
)
mrl
+=
"000"
;
if
(
dvbc
->
isChecked
()
)
{
unsigned
qam
=
dvbModBox
->
itemData
(
dvbModBox
->
currentIndex
()
).
toInt
();
if
(
qam
!=
0
)
{
mrl
+=
":modulation="
+
QString
::
number
(
qam
);
mrl
+=
"QAM"
;
}
mrl
+=
":srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
}
else
if
(
dvbs
->
isChecked
()
)
...
...
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