Ticket #4718: dvd_playback_plugin.patch

File dvd_playback_plugin.patch, 1.0 KB (added by andrei@…, 13 years ago)
  • mythvideo/mythvideo/globalsettings.cpp

     
    322322    gc->setLabel(QObject::tr("Location of DVD device"));
    323323#ifdef Q_WS_MACX
    324324    gc->setValue("default");
     325#elif defined(_WIN32)
     326    gc->setValue("D:\\");
    325327#else
    326328    gc->setValue("/dev/dvd");
    327329#endif
  • mythvideo/mythvideo/main.cpp

     
    334334        if ((command_string.find("internal", 0, false) > -1) ||
    335335            (command_string.length() < 1))
    336336        {
    337             QString filename = QString("dvd:/") + dvd_device;
     337            QString filename = QString("dvd:") + dvd_device;
    338338
    339339            command_string = "Internal";
    340340            gContext->GetMainWindow()->HandleMedia(command_string, filename);