Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
36ff2a5f
Commit
36ff2a5f
authored
Dec 14, 2008
by
kenself
Committed by
Jean-Baptiste Kempf
Dec 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ATSC option to GUI
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
4983eb0e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+7
-2
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 @
36ff2a5f
...
...
@@ -672,11 +672,13 @@ void CaptureOpenPanel::initialize()
bdas
->
setChecked
(
true
);
bdac
=
new
QRadioButton
(
"DVB-C"
);
bdat
=
new
QRadioButton
(
"DVB-T"
);
bdaa
=
new
QRadioButton
(
"ATSC"
);
bdaDevLayout
->
addWidget
(
bdaTypeLabel
,
0
,
0
);
bdaDevLayout
->
addWidget
(
bdas
,
0
,
1
);
bdaDevLayout
->
addWidget
(
bdac
,
0
,
2
);
bdaDevLayout
->
addWidget
(
bdat
,
0
,
3
);
bdaDevLayout
->
addWidget
(
bdaa
,
0
,
4
);
/* bda Props */
QLabel
*
bdaFreqLabel
=
...
...
@@ -718,9 +720,11 @@ void CaptureOpenPanel::initialize()
BUTTONACT
(
bdas
,
updateButtons
()
);
BUTTONACT
(
bdat
,
updateButtons
()
);
BUTTONACT
(
bdac
,
updateButtons
()
);
BUTTONACT
(
bdaa
,
updateButtons
()
);
BUTTONACT
(
bdas
,
updateMRL
()
);
BUTTONACT
(
bdat
,
updateMRL
()
);
BUTTONACT
(
bdac
,
updateMRL
()
);
BUTTONACT
(
bdaa
,
updateMRL
()
);
}
#else
/* WIN32 */
...
...
@@ -1026,11 +1030,12 @@ void CaptureOpenPanel::updateMRL()
if
(
bdas
->
isChecked
()
)
mrl
=
"dvb-s://"
;
else
if
(
bdat
->
isChecked
()
)
mrl
=
"dvb-t://"
;
else
if
(
bdac
->
isChecked
()
)
mrl
=
"dvb-c://"
;
else
if
(
bdaa
->
isChecked
()
)
mrl
=
"atsc://"
;
else
return
;
mrl
+=
" :dvb-frequency="
+
QString
(
"%1"
).
arg
(
bdaFreq
->
value
()
);
if
(
bdas
->
isChecked
()
||
bdac
->
isChecked
()
)
mrl
+=
" :dvb-srate="
+
QString
(
"%1"
).
arg
(
bdaSrate
->
value
()
);
else
else
if
(
bdat
->
isChecked
()
)
mrl
+=
" :dvb-bandwidth="
+
QString
(
"%1"
).
arg
(
bdaBandBox
->
itemData
(
bdaBandBox
->
currentIndex
()
).
toInt
()
);
...
...
@@ -1123,7 +1128,7 @@ void CaptureOpenPanel::updateButtons()
bdaBandBox
->
hide
();
bdaBandLabel
->
hide
();
}
else
else
if
(
bdat
->
isChecked
()
)
{
bdaSrate
->
hide
();
bdaSrateLabel
->
hide
();
...
...
modules/gui/qt4/components/open_panels.hpp
View file @
36ff2a5f
...
...
@@ -187,7 +187,7 @@ private:
QString
advMRL
;
QDialog
*
adv
;
#ifdef WIN32
QRadioButton
*
bdas
,
*
bdat
,
*
bdac
;
QRadioButton
*
bdas
,
*
bdat
,
*
bdac
,
*
bdaa
;
QSpinBox
*
bdaCard
,
*
bdaFreq
,
*
bdaSrate
;
QLabel
*
bdaSrateLabel
,
*
bdaBandLabel
;
QComboBox
*
bdaBandBox
;
...
...
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