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
2a728357
Commit
2a728357
authored
Apr 28, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: specify the frequencies in kHz in all DVB mode.
This is easier to understand and you can still modify the MRL.
parent
063ae6fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+4
-12
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
2a728357
...
@@ -1103,6 +1103,8 @@ void CaptureOpenPanel::updateMRL()
...
@@ -1103,6 +1103,8 @@ void CaptureOpenPanel::updateMRL()
fileList
<<
mrl
;
mrl
=
""
;
fileList
<<
mrl
;
mrl
=
""
;
mrl
+=
" :dvb-frequency="
+
QString
::
number
(
bdaFreq
->
value
()
);
mrl
+=
" :dvb-frequency="
+
QString
::
number
(
bdaFreq
->
value
()
);
if
(
bdac
->
isChecked
()
||
bdat
->
isChecked
()
||
bdaa
->
isChecked
()
)
mrl
+=
"000"
;
if
(
bdas
->
isChecked
()
||
bdac
->
isChecked
()
)
if
(
bdas
->
isChecked
()
||
bdac
->
isChecked
()
)
mrl
+=
" :dvb-srate="
+
QString
::
number
(
bdaSrate
->
value
()
);
mrl
+=
" :dvb-srate="
+
QString
::
number
(
bdaSrate
->
value
()
);
else
if
(
bdat
->
isChecked
()
||
bdaa
->
isChecked
()
)
else
if
(
bdat
->
isChecked
()
||
bdaa
->
isChecked
()
)
...
@@ -1163,6 +1165,8 @@ void CaptureOpenPanel::updateMRL()
...
@@ -1163,6 +1165,8 @@ void CaptureOpenPanel::updateMRL()
fileList
<<
"dvb://"
;
fileList
<<
"dvb://"
;
mrl
+=
" :dvb-adapter="
+
QString
::
number
(
dvbCard
->
value
()
);
mrl
+=
" :dvb-adapter="
+
QString
::
number
(
dvbCard
->
value
()
);
mrl
+=
" :dvb-frequency="
+
QString
::
number
(
dvbFreq
->
value
()
);
mrl
+=
" :dvb-frequency="
+
QString
::
number
(
dvbFreq
->
value
()
);
if
(
dvbc
->
isChecked
()
||
dvbt
->
isChecked
()
)
mrl
+=
"000"
;
if
(
dvbs
->
isChecked
()
||
dvbc
->
isChecked
()
)
if
(
dvbs
->
isChecked
()
||
dvbc
->
isChecked
()
)
mrl
+=
" :dvb-srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
mrl
+=
" :dvb-srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
else
if
(
dvbt
->
isChecked
()
)
else
if
(
dvbt
->
isChecked
()
)
...
@@ -1215,16 +1219,6 @@ void CaptureOpenPanel::updateButtons()
...
@@ -1215,16 +1219,6 @@ void CaptureOpenPanel::updateButtons()
bdaBandBox
->
show
();
bdaBandBox
->
show
();
bdaBandLabel
->
show
();
bdaBandLabel
->
show
();
}
}
if
(
bdas
->
isChecked
()
)
{
bdaFreq
->
setSuffix
(
" kHz"
);
bdaFreq
->
setSingleStep
(
1000
);
}
if
(
bdac
->
isChecked
()
||
bdat
->
isChecked
()
||
bdaa
->
isChecked
(
)
)
{
bdaFreq
->
setSuffix
(
" Hz"
);
bdaFreq
->
setSingleStep
(
100000
);
}
break
;
break
;
#else
#else
case
DVB_DEVICE
:
case
DVB_DEVICE
:
...
@@ -1242,8 +1236,6 @@ void CaptureOpenPanel::updateButtons()
...
@@ -1242,8 +1236,6 @@ void CaptureOpenPanel::updateButtons()
dvbBandBox
->
show
();
dvbBandBox
->
show
();
dvbBandLabel
->
show
();
dvbBandLabel
->
show
();
}
}
if
(
dvbs
->
isChecked
()
)
dvbFreq
->
setSuffix
(
" kHz"
);
if
(
dvbc
->
isChecked
()
||
dvbt
->
isChecked
()
)
dvbFreq
->
setSuffix
(
" Hz"
);
break
;
break
;
#endif
#endif
case
SCREEN_DEVICE
:
case
SCREEN_DEVICE
:
...
...
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