Commit bf4b812b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt: select MRL scheme based on DVB system delivery

parent 74b24809
......@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment