Ticket #2840: mythvideo-mtdautostart-180707.diff
File mythvideo-mtdautostart-180707.diff, 1.5 KB (added by , 17 years ago) |
---|
-
mythplugins/mythvideo/mythvideo/dvdripbox.cpp
132 132 133 133 setContext(0); 134 134 createSocket(); 135 connectToMtd( false);135 connectToMtd(gContext->GetSetting("MTDAutostart")); 136 136 137 137 // 138 138 // Create (but do not open) the DVD probing object -
mythplugins/mythvideo/mythvideo/globalsettings.cpp
452 452 return gc; 453 453 } 454 454 455 static HostCheckBox *MTDautostart() 456 { 457 HostCheckBox *gc = new HostCheckBox("MTDautostart"); 458 gc->setLabel(QObject::tr("Autostart transcode Daemon (MTD)")); 459 gc->setValue(true); 460 gc->setHelpText(QObject::tr("If set, mythdvd will try and autostart " 461 "the transcode daemon. ")); 462 return gc; 463 } 464 455 465 HostSpinBox *MTDPortNumber() 456 466 { 457 467 HostSpinBox *gc = new HostSpinBox("MTDPort", 1024, 65535, 1); … … 639 649 VerticalConfigurationGroup *mtdsettings = 640 650 new VerticalConfigurationGroup(false); 641 651 mtdsettings->setLabel(QObject::tr("MTD Settings")); 652 mtdsettings->addChild(MTDautostart()); 642 653 mtdsettings->addChild(MTDPortNumber()); 643 654 mtdsettings->addChild(MTDNiceLevel()); 644 655 mtdsettings->addChild(MTDConcurrentTranscodes());