[vlc-commits] Qt: select MRL scheme based on DVB system delivery
Rémi Denis-Courmont
git at videolan.org
Wed Mar 23 23:18:56 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 24 00:18:29 2011 +0200| [bf4b812b6b62758b2bcd4a925ce30979535adc41] | committer: Rémi Denis-Courmont
Qt: select MRL scheme based on DVB system delivery
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf4b812b6b62758b2bcd4a925ce30979535adc41
---
modules/gui/qt4/components/open_panels.cpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index ed71cee..17982e1 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1219,7 +1219,12 @@ void CaptureOpenPanel::updateMRL()
mrl += " :pvr-bitrate=" + QString::number( pvrBitr->value() );
break;
case DVB_DEVICE:
- mrl = "dvb://";
+ if( dvbc->isChecked() ) mrl = "dvb-c://";
+ else
+ if( dvbs->isChecked() ) mrl = "dvb-s://";
+ else
+ if( dvbt->isChecked() ) mrl = "dvb-t://";
+
mrl += "frequency=" + QString::number( dvbFreq->value() );
if( dvbc->isChecked() || dvbt->isChecked() )
mrl += "000";
More information about the vlc-commits
mailing list