Remove swaroop variant.
[dcpomatic.git] / src / tools / dcpomatic.cc
index f3daae30af73fec898b77a48d777255b2773ece0..d6699338828bc3eaa816dcbd657cb4ba17258d4d 100644 (file)
@@ -50,7 +50,6 @@
 #include "wx/paste_dialog.h"
 #include "wx/focus_manager.h"
 #include "wx/html_dialog.h"
-#include "wx/initial_setup_dialog.h"
 #include "wx/send_i18n_dialog.h"
 #include "wx/i18n_hook.h"
 #include "lib/film.h"
@@ -882,7 +881,7 @@ private:
 
                if (send_to_other_tool (BATCH_JOB_PORT, &start_batch_converter, _film->directory()->string())) {
 #ifdef DCPOMATIC_OSX
-                       error_dialog (this, _("Could not start the batch converter.  You may need to download it from dcpomatic.com.");
+                       error_dialog (this, _("Could not start the batch converter.  You may need to download it from dcpomatic.com."));
 #else
                        error_dialog (this, _("Could not find batch converter."));
 #endif
@@ -897,7 +896,7 @@ private:
 
                if (send_to_other_tool (PLAYER_PLAY_PORT, &start_player, _film->dir(_film->dcp_name(false)).string())) {
 #ifdef DCPOMATIC_OSX
-                       error_dialog (this, _("Could not start the player.  You may need to download it from dcpomatic.com.");
+                       error_dialog (this, _("Could not start the player.  You may need to download it from dcpomatic.com."));
 #else
                        error_dialog (this, _("Could not find player."));
 #endif
@@ -986,11 +985,7 @@ private:
                        shared_ptr<TranscodeJob> job (new TranscodeJob (_film));
                        job->set_encoder (
                                shared_ptr<FFmpegEncoder> (
-                                       new FFmpegEncoder (_film, job, d->path(), d->format(), d->mixdown_to_stereo(), d->split_reels(), d->split_streams(), d->x264_crf()
-#ifdef DCPOMATIC_VARIANT_SWAROOP
-                                                          , optional<dcp::Key>(), optional<string>()
-#endif
-                                               )
+                                       new FFmpegEncoder (_film, job, d->path(), d->format(), d->mixdown_to_stereo(), d->split_reels(), d->split_streams(), d->x264_crf())
                                        )
                                );
                        JobManager::instance()->add (job);
@@ -1620,13 +1615,6 @@ private:
                        _frame->Maximize ();
                        close_splash ();
 
-                       if (!Config::instance()->nagged(Config::NAG_INITIAL_SETUP)) {
-                               InitialSetupDialog* d = new InitialSetupDialog ();
-                               d->ShowModal ();
-                               d->Destroy ();
-                               Config::instance()->set_nagged(Config::NAG_INITIAL_SETUP, true);
-                       }
-
                        if (running_32_on_64 ()) {
                                NagDialog::maybe_nag (
                                        _frame, Config::NAG_32_ON_64,