Prepare for windows video support on all drive-letters.
[ardour.git] / gtk2_ardour / video_server_dialog.cc
index 29872fc975b7d2886f20e11ac9218a793199fd1e..a8c2bd3ea3e0f91fc61ba3ba93ed84e741a556b8 100644 (file)
@@ -101,6 +101,11 @@ VideoServerDialog::VideoServerDialog (Session* s)
                        << endmsg;
        }
 
+#ifdef PLATFORM_WINDOWS
+       if (VideoUtils::harvid_version >= 0x000802) {
+               /* empty docroot -> all drive letters */
+       } else
+#endif
        if (docroot_entry.get_text().empty()) {
          std::string docroot =  Glib::path_get_dirname(_session->session_directory().root_path());
          if ((docroot.empty() || docroot.at(docroot.length()-1) != '/')) { docroot += "/"; }