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
74b24809
Commit
74b24809
authored
Mar 24, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: pass DVB parameters through MRL rather than options
parent
0da1c927
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/components/open_panels.cpp
modules/gui/qt4/components/open_panels.cpp
+7
-7
No files found.
modules/gui/qt4/components/open_panels.cpp
View file @
74b24809
...
...
@@ -1222,25 +1222,25 @@ void CaptureOpenPanel::updateMRL()
mrl
=
"dvb://"
;
mrl
+=
"frequency="
+
QString
::
number
(
dvbFreq
->
value
()
);
if
(
dvbc
->
isChecked
()
||
dvbt
->
isChecked
()
)
mrl
+=
"000"
;
fileList
<<
mrl
;
mrl
=
""
;
mrl
+=
"000"
;
mrl
+=
" :dvb-adapter="
+
QString
::
number
(
dvbCard
->
value
()
);
if
(
dvbc
->
isChecked
()
)
{
unsigned
qam
=
dvbModBox
->
itemData
(
dvbModBox
->
currentIndex
()
).
toInt
();
if
(
qam
!=
0
)
mrl
+=
"
:dvb-
modulation="
+
QString
::
number
(
qam
);
mrl
+=
"
:dvb-
srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
mrl
+=
"
:
modulation="
+
QString
::
number
(
qam
);
mrl
+=
"
:
srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
}
else
if
(
dvbs
->
isChecked
()
)
mrl
+=
"
:dvb-
srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
mrl
+=
"
:
srate="
+
QString
::
number
(
dvbSrate
->
value
()
);
else
if
(
dvbt
->
isChecked
()
)
mrl
+=
"
:dvb-
bandwidth="
+
mrl
+=
"
:
bandwidth="
+
QString
::
number
(
dvbBandBox
->
itemData
(
dvbBandBox
->
currentIndex
()
).
toInt
()
);
fileList
<<
mrl
;
mrl
=
""
;
mrl
+=
" :dvb-adapter="
+
QString
::
number
(
dvbCard
->
value
()
);
break
;
#endif
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