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() ...@@ -1219,7 +1219,12 @@ void CaptureOpenPanel::updateMRL()
mrl += " :pvr-bitrate=" + QString::number( pvrBitr->value() ); mrl += " :pvr-bitrate=" + QString::number( pvrBitr->value() );
break; break;
case DVB_DEVICE: 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() ); mrl += "frequency=" + QString::number( dvbFreq->value() );
if( dvbc->isChecked() || dvbt->isChecked() ) if( dvbc->isChecked() || dvbt->isChecked() )
mrl += "000"; 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