Remove A/B mode for now.
authorCarl Hetherington <cth@carlh.net>
Thu, 20 Jun 2013 15:25:52 +0000 (16:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 20 Jun 2013 15:25:52 +0000 (16:25 +0100)
17 files changed:
dcpomatic.desktop.in [deleted file]
dcpomatic_batch.desktop.in [deleted file]
src/lib/ab_transcode_job.cc [deleted file]
src/lib/ab_transcode_job.h [deleted file]
src/lib/ab_transcoder.cc [deleted file]
src/lib/ab_transcoder.h [deleted file]
src/lib/config.cc
src/lib/config.h
src/lib/film.cc
src/lib/film.h
src/lib/wscript
src/tools/dcpomatic_cli.cc
src/wx/config_dialog.cc
src/wx/config_dialog.h
src/wx/film_editor.cc
src/wx/properties_dialog.cc
test/film_metadata_test.cc

diff --git a/dcpomatic.desktop.in b/dcpomatic.desktop.in
deleted file mode 100644 (file)
index aabd992..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Application
-Terminal=false
-Exec=@PREFIX@/bin/dcpomatic
-Name=DCP-o-matic
-Icon=dcpomatic
-Comment=DCP generator
-Categories=AudioVideo;Video
diff --git a/dcpomatic_batch.desktop.in b/dcpomatic_batch.desktop.in
deleted file mode 100644 (file)
index bab136e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
-Type=Application
-Terminal=false
-Exec=@PREFIX@/bin/dcpomatic_batch
-Name=DCP-o-matic Batch Converter
-Icon=dcpomatic
-Comment=DCP generator
-Categories=AudioVideo;Video
diff --git a/src/lib/ab_transcode_job.cc b/src/lib/ab_transcode_job.cc
deleted file mode 100644 (file)
index a29e787..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-#include <stdexcept>
-#include "ab_transcode_job.h"
-#include "film.h"
-#include "ab_transcoder.h"
-#include "config.h"
-#include "log.h"
-
-#include "i18n.h"
-
-using std::string;
-using boost::shared_ptr;
-
-/** @param f Film to compare.
- */
-ABTranscodeJob::ABTranscodeJob (shared_ptr<Film> f)
-       : Job (f)
-{
-       _film_b.reset (new Film (*_film));
-       _film_b->set_scaler (Config::instance()->reference_scaler ());
-       /* XXX */
-//     _film_b->set_filters (Config::instance()->reference_filters ());
-}
-
-string
-ABTranscodeJob::name () const
-{
-       return String::compose (_("A/B transcode %1"), _film->name());
-}
-
-void
-ABTranscodeJob::run ()
-{
-       try {
-               /* _film_b is the one with reference filters */
-               ABTranscoder w (_film_b, _film, shared_from_this ());
-               w.go ();
-               set_progress (1);
-               set_state (FINISHED_OK);
-
-               _film->log()->log ("A/B transcode job completed successfully");
-
-       } catch (std::exception& e) {
-
-               set_progress (1);
-               set_state (FINISHED_ERROR);
-               _film->log()->log (String::compose ("A/B transcode job failed (%1)", e.what()));
-               throw;
-       }
-}
diff --git a/src/lib/ab_transcode_job.h b/src/lib/ab_transcode_job.h
deleted file mode 100644 (file)
index cd82d42..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-/** @file src/ab_transcode_job.h
- *  @brief Job to run a transcoder which produces output for A/B comparison of various settings.
- */
-
-#include <boost/shared_ptr.hpp>
-#include "job.h"
-
-class Film;
-
-/** @class ABTranscodeJob
- *  @brief Job to run a transcoder which produces output for A/B comparison of various settings.
- *
- *  The right half of the frame will be processed using the Film supplied;
- *  the left half will be processed using the same state but with the reference
- *  filters and scaler.
- */
-class ABTranscodeJob : public Job
-{
-public:
-       ABTranscodeJob (
-               boost::shared_ptr<Film> f
-               );
-
-       std::string name () const;
-       void run ();
-
-private:
-       /** Copy of our Film using the reference filters and scaler */
-       boost::shared_ptr<Film> _film_b;
-};
diff --git a/src/lib/ab_transcoder.cc b/src/lib/ab_transcoder.cc
deleted file mode 100644 (file)
index a5659b2..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-#include <iostream>
-#include <boost/shared_ptr.hpp>
-#include "ab_transcoder.h"
-#include "film.h"
-#include "encoder.h"
-#include "job.h"
-#include "image.h"
-#include "player.h"
-#include "combiner.h"
-
-/** @file src/ab_transcoder.cc
- *  @brief A transcoder which uses one Film for the left half of the screen, and a different one
- *  for the right half (to facilitate A/B comparisons of settings)
- */
-
-using std::string;
-using boost::shared_ptr;
-using boost::dynamic_pointer_cast;
-
-/** @param a Film to use for the left half of the screen.
- *  @param b Film to use for the right half of the screen.
- *  @param o Decoder options.
- *  @param j Job that we are associated with.
- *  @param e Encoder to use.
- */
-
-ABTranscoder::ABTranscoder (shared_ptr<Film> film_a, shared_ptr<Film> film_b, shared_ptr<Job> j)
-       : _player_a (film_a->player ())
-       , _player_b (film_b->player ())
-       , _job (j)
-       , _encoder (new Encoder (film_a, j))
-       , _combiner (new Combiner)
-{
-       _player_a->Video.connect (bind (&Combiner::process_video, _combiner, _1, _2, _3));
-       _player_b->Video.connect (bind (&Combiner::process_video_b, _combiner, _1, _2, _3));
-
-       _combiner->connect_video (_encoder);
-       _player_a->connect_audio (_encoder);
-}
-
-void
-ABTranscoder::go ()
-{
-       _encoder->process_begin ();
-       while (!_player_a->pass () || !_player_b->pass ()) {}
-       _encoder->process_end ();
-}
diff --git a/src/lib/ab_transcoder.h b/src/lib/ab_transcoder.h
deleted file mode 100644 (file)
index 54d7ed0..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-/** @file src/ab_transcoder.h
- *  @brief A transcoder which uses one Film for the left half of the screen, and a different one
- *  for the right half (to facilitate A/B comparisons of settings)
- */
-
-#include <boost/shared_ptr.hpp>
-#include <stdint.h>
-#include "util.h"
-
-class Job;
-class Encoder;
-class Image;
-class Log;
-class Film;
-class Combiner;
-class Player;
-
-/** @class ABTranscoder
- *  @brief A transcoder which uses one Film for the left half of the screen, and a different one
- *  for the right half (to facilitate A/B comparisons of settings)
- */
-class ABTranscoder
-{
-public:
-       ABTranscoder (
-               boost::shared_ptr<Film> a,
-               boost::shared_ptr<Film> b,
-               boost::shared_ptr<Job> j
-               );
-       
-       void go ();
-
-private:
-       boost::shared_ptr<Player> _player_a;
-       boost::shared_ptr<Player> _player_b;
-       boost::shared_ptr<Job> _job;
-       boost::shared_ptr<Encoder> _encoder;
-       boost::shared_ptr<Combiner> _combiner;
-       boost::shared_ptr<Image> _image;
-};
index e4cebdc73b36f2d3c10941cd951f475834c6cd42..c9ec730f20aa94c03357b56cbd9398e21698eb46 100644 (file)
@@ -48,7 +48,6 @@ Config* Config::_instance = 0;
 Config::Config ()
        : _num_local_encoding_threads (2)
        , _server_port (6192)
-       , _reference_scaler (Scaler::from_id (N_("bicubic")))
        , _tms_path (N_("."))
        , _sound_processor (SoundProcessor::from_id (N_("dolby_cp750")))
        , _default_still_length (10)
@@ -77,15 +76,6 @@ Config::read ()
        _num_local_encoding_threads = f.number_child<int> ("NumLocalEncodingThreads");
        _default_directory = f.string_child ("DefaultDirectory");
        _server_port = f.number_child<int> ("ServerPort");
-       c = f.optional_string_child ("ReferenceScaler");
-       if (c) {
-               _reference_scaler = Scaler::from_id (c.get ());
-       }
-
-       list<shared_ptr<cxml::Node> > filters = f.node_children ("ReferenceFilter");
-       for (list<shared_ptr<cxml::Node> >::iterator i = filters.begin(); i != filters.end(); ++i) {
-               _reference_filters.push_back (Filter::from_id ((*i)->content ()));
-       }
        
        list<shared_ptr<cxml::Node> > servers = f.node_children ("Server");
        for (list<shared_ptr<cxml::Node> >::iterator i = servers.begin(); i != servers.end(); ++i) {
@@ -149,10 +139,6 @@ Config::read_old_metadata ()
                        _default_directory = v;
                } else if (k == N_("server_port")) {
                        _server_port = atoi (v.c_str ());
-               } else if (k == N_("reference_scaler")) {
-                       _reference_scaler = Scaler::from_id (v);
-               } else if (k == N_("reference_filter")) {
-                       _reference_filters.push_back (Filter::from_id (v));
                } else if (k == N_("server")) {
                        _servers.push_back (ServerDescription::create_from_metadata (v));
                } else if (k == N_("tms_ip")) {
@@ -227,13 +213,6 @@ Config::write () const
        root->add_child("NumLocalEncodingThreads")->add_child_text (lexical_cast<string> (_num_local_encoding_threads));
        root->add_child("DefaultDirectory")->add_child_text (_default_directory);
        root->add_child("ServerPort")->add_child_text (lexical_cast<string> (_server_port));
-       if (_reference_scaler) {
-               root->add_child("ReferenceScaler")->add_child_text (_reference_scaler->id ());
-       }
-
-       for (vector<Filter const *>::const_iterator i = _reference_filters.begin(); i != _reference_filters.end(); ++i) {
-               root->add_child("ReferenceFilter")->add_child_text ((*i)->id ());
-       }
        
        for (vector<ServerDescription*>::const_iterator i = _servers.begin(); i != _servers.end(); ++i) {
                (*i)->as_xml (root->add_child ("Server"));
index 110bcc6a8de5dabbd3aa9a19110f60cb0b200403..f3e8f1441b918bd23282f5adfc2f8bb46a20d9e6 100644 (file)
@@ -65,14 +65,6 @@ public:
                return _servers;
        }
 
-       Scaler const * reference_scaler () const {
-               return _reference_scaler;
-       }
-
-       std::vector<Filter const *> reference_filters () const {
-               return _reference_filters;
-       }
-
        /** @return The IP address of a TMS that we can copy DCPs to */
        std::string tms_ip () const {
                return _tms_ip;
index b50fe67d11ade014230d833da685a461cb9b8bc1..a29f6c331a974740ad67a34592c4e95780504c50 100644 (file)
@@ -36,7 +36,6 @@
 #include "filter.h"
 #include "util.h"
 #include "job_manager.h"
-#include "ab_transcode_job.h"
 #include "transcode_job.h"
 #include "scp_dcp_job.h"
 #include "log.h"
@@ -94,7 +93,6 @@ Film::Film (string d)
        , _dcp_content_type (Config::instance()->default_dcp_content_type ())
        , _container (Config::instance()->default_container ())
        , _scaler (Scaler::from_id ("bicubic"))
-       , _ab (false)
        , _with_subtitles (false)
        , _subtitle_offset (0)
        , _subtitle_scale (1)
@@ -143,7 +141,6 @@ Film::Film (Film const & o)
        , _dcp_content_type  (o._dcp_content_type)
        , _container         (o._container)
        , _scaler            (o._scaler)
-       , _ab                (o._ab)
        , _with_subtitles    (o._with_subtitles)
        , _subtitle_offset   (o._subtitle_offset)
        , _subtitle_scale    (o._subtitle_scale)
@@ -171,11 +168,6 @@ Film::video_state_identifier () const
          << "_" << j2k_bandwidth()
          << "_" << lexical_cast<int> (colour_lut());
 
-       if (ab()) {
-               pair<string, string> fa = Filter::ffmpeg_strings (Config::instance()->reference_filters());
-               s << "ab_" << Config::instance()->reference_scaler()->id() << "_" << fa.first << "_" << fa.second;
-       }
-
        return s.str ();
 }
          
@@ -294,13 +286,7 @@ Film::make_dcp ()
                throw MissingSettingError (_("name"));
        }
 
-       shared_ptr<Job> r;
-
-       if (ab()) {
-               r = JobManager::instance()->add (shared_ptr<Job> (new ABTranscodeJob (shared_from_this())));
-       } else {
-               r = JobManager::instance()->add (shared_ptr<Job> (new TranscodeJob (shared_from_this())));
-       }
+       JobManager::instance()->add (shared_ptr<Job> (new TranscodeJob (shared_from_this())));
 }
 
 /** Start a job to analyse the audio in our Playlist */
@@ -384,7 +370,6 @@ Film::write_metadata () const
        }
 
        root->add_child("Scaler")->add_child_text (_scaler->id ());
-       root->add_child("AB")->add_child_text (_ab ? "1" : "0");
        root->add_child("WithSubtitles")->add_child_text (_with_subtitles ? "1" : "0");
        root->add_child("SubtitleOffset")->add_child_text (lexical_cast<string> (_subtitle_offset));
        root->add_child("SubtitleScale")->add_child_text (lexical_cast<string> (_subtitle_scale));
@@ -432,7 +417,6 @@ Film::read_metadata ()
        }
 
        _scaler = Scaler::from_id (f.string_child ("Scaler"));
-       _ab = f.bool_child ("AB");
        _with_subtitles = f.bool_child ("WithSubtitles");
        _subtitle_offset = f.number_child<float> ("SubtitleOffset");
        _subtitle_scale = f.number_child<float> ("SubtitleScale");
@@ -622,16 +606,6 @@ Film::set_scaler (Scaler const * s)
        signal_changed (SCALER);
 }
 
-void
-Film::set_ab (bool a)
-{
-       {
-               boost::mutex::scoped_lock lm (_state_mutex);
-               _ab = a;
-       }
-       signal_changed (AB);
-}
-
 void
 Film::set_with_subtitles (bool w)
 {
index 28beeaed1920769eac45801a64f11ffd7cbf1074..5f06a1dc73242c1eb3b1e1757aedf1752d745f42 100644 (file)
@@ -135,7 +135,6 @@ public:
                DCP_CONTENT_TYPE,
                CONTAINER,
                SCALER,
-               AB,
                WITH_SUBTITLES,
                SUBTITLE_OFFSET,
                SUBTITLE_SCALE,
@@ -178,11 +177,6 @@ public:
                return _scaler;
        }
 
-       bool ab () const {
-               boost::mutex::scoped_lock lm (_state_mutex);
-               return _ab;
-       }
-
        bool with_subtitles () const {
                boost::mutex::scoped_lock lm (_state_mutex);
                return _with_subtitles;
@@ -235,7 +229,6 @@ public:
        void set_dcp_content_type (DCPContentType const *);
        void set_container (Ratio const *);
        void set_scaler (Scaler const *);
-       void set_ab (bool);
        void set_with_subtitles (bool);
        void set_subtitle_offset (int);
        void set_subtitle_scale (float);
@@ -288,11 +281,6 @@ private:
        Ratio const * _container;
        /** Scaler algorithm to use */
        Scaler const * _scaler;
-       /** true to create an A/B comparison DCP, where the left half of the image
-           is the video without any filters or post-processing, and the right half
-           has the specified filters and post-processing.
-       */
-       bool _ab;
        /** True if subtitles should be shown for this film */
        bool _with_subtitles;
        /** y offset for placing subtitles, in source pixels; +ve is further down
index 6e69b98b25304c97b8f08df1be79170dce83d737..9945fc753c4258fb54d32f54b68b3520d015545b 100644 (file)
@@ -2,8 +2,6 @@ import os
 import i18n
 
 sources = """
-          ab_transcode_job.cc
-         ab_transcoder.cc
           analyse_audio_job.cc
           audio_analysis.cc
           audio_buffers.cc
index c7b7e3b3d9d8b17ebb852277c1f1f1624428ad3c..8623d919468ab3f95d7e2230000a2cc7e667c2f4 100644 (file)
@@ -25,7 +25,6 @@
 #include "filter.h"
 #include "transcode_job.h"
 #include "job_manager.h"
-#include "ab_transcode_job.h"
 #include "util.h"
 #include "scaler.h"
 #include "version.h"
@@ -133,11 +132,7 @@ main (int argc, char* argv[])
 
        film->log()->set_level ((Log::Level) log_level);
 
-       cout << "\nMaking ";
-       if (film->ab()) {
-               cout << "A/B ";
-       }
-       cout << "DCP for " << film->name() << "\n";
+       cout << "\nMaking DCP for " << film->name() << "\n";
 //     cout << "Content: " << film->content() << "\n";
 //     pair<string, string> const f = Filter::ffmpeg_strings (film->filters ());
 //     cout << "Filters: " << f.first << " " << f.second << "\n";
index 0b13b9c8888d3abd1fd9474b6365e69f4cb28e7a..844b03ad7e65c5653a698c26c6992f87e835d1fd 100644 (file)
@@ -57,8 +57,6 @@ ConfigDialog::ConfigDialog (wxWindow* parent)
        _notebook->AddPage (_metadata_panel, _("Metadata"), false);
        make_tms_panel ();
        _notebook->AddPage (_tms_panel, _("TMS"), false);
-       make_ab_panel ();
-       _notebook->AddPage (_ab_panel, _("A/B mode"), false);
 
        wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL);
        overall_sizer->Add (s, 1, wxEXPAND | wxALL, 6);
@@ -235,39 +233,6 @@ ConfigDialog::make_tms_panel ()
        _tms_password->Connect (wxID_ANY, wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler (ConfigDialog::tms_password_changed), 0, this);
 }
 
-void
-ConfigDialog::make_ab_panel ()
-{
-       _ab_panel = new wxPanel (_notebook);
-       wxBoxSizer* s = new wxBoxSizer (wxVERTICAL);
-       _ab_panel->SetSizer (s);
-
-       wxFlexGridSizer* table = new wxFlexGridSizer (3, 6, 6);
-       table->AddGrowableCol (1, 1);
-       s->Add (table, 1, wxALL, 8);
-       
-       add_label_to_sizer (table, _ab_panel, _("Reference scaler"));
-       _reference_scaler = new wxChoice (_ab_panel, wxID_ANY);
-       vector<Scaler const *> const sc = Scaler::all ();
-       for (vector<Scaler const *>::const_iterator i = sc.begin(); i != sc.end(); ++i) {
-               _reference_scaler->Append (std_to_wx ((*i)->name ()));
-       }
-
-       table->Add (_reference_scaler, 1, wxEXPAND);
-       table->AddSpacer (0);
-
-       {
-               add_label_to_sizer (table, _ab_panel, _("Reference filters"));
-               wxSizer* s = new wxBoxSizer (wxHORIZONTAL);
-               _reference_filters = new wxStaticText (_ab_panel, wxID_ANY, wxT (""));
-               s->Add (_reference_filters, 1, wxEXPAND);
-               _reference_filters_button = new wxButton (_ab_panel, wxID_ANY, _("Edit..."));
-               s->Add (_reference_filters_button, 0);
-               table->Add (s, 1, wxEXPAND);
-               table->AddSpacer (0);
-       }
-}
-
 void
 ConfigDialog::make_metadata_panel ()
 {
@@ -474,32 +439,6 @@ ConfigDialog::server_selection_changed (wxListEvent &)
        _remove_server->Enable (i >= 0);
 }
 
-void
-ConfigDialog::reference_scaler_changed (wxCommandEvent &)
-{
-       int const n = _reference_scaler->GetSelection ();
-       if (n >= 0) {
-               Config::instance()->set_reference_scaler (Scaler::from_index (n));
-       }
-}
-
-void
-ConfigDialog::edit_reference_filters_clicked (wxCommandEvent &)
-{
-       FilterDialog* d = new FilterDialog (this, Config::instance()->reference_filters ());
-       d->ActiveChanged.connect (boost::bind (&ConfigDialog::reference_filters_changed, this, _1));
-       d->ShowModal ();
-       d->Destroy ();
-}
-
-void
-ConfigDialog::reference_filters_changed (vector<Filter const *> f)
-{
-       Config::instance()->set_reference_filters (f);
-       pair<string, string> p = Filter::ffmpeg_strings (Config::instance()->reference_filters ());
-       _reference_filters->SetLabel (std_to_wx (p.first) + N_(" ") + std_to_wx (p.second));
-}
-
 void
 ConfigDialog::edit_default_dci_metadata_clicked (wxCommandEvent &)
 {
index dda846b7db2cea232a4a840aef2be3a26cb199b6..3da48fd08f3758207a59de2616ca5e966f6bf15a 100644 (file)
@@ -50,9 +50,6 @@ private:
        void default_still_length_changed (wxCommandEvent &);
        void default_directory_changed (wxCommandEvent &);
        void edit_default_dci_metadata_clicked (wxCommandEvent &);
-       void reference_scaler_changed (wxCommandEvent &);
-       void edit_reference_filters_clicked (wxCommandEvent &);
-       void reference_filters_changed (std::vector<Filter const *>);
        void add_server_clicked (wxCommandEvent &);
        void edit_server_clicked (wxCommandEvent &);
        void remove_server_clicked (wxCommandEvent &);
@@ -68,13 +65,11 @@ private:
        void make_misc_panel ();
        void make_tms_panel ();
        void make_metadata_panel ();
-       void make_ab_panel ();
        void make_servers_panel ();
 
        wxNotebook* _notebook;
        wxPanel* _misc_panel;
        wxPanel* _tms_panel;
-       wxPanel* _ab_panel;
        wxPanel* _servers_panel;
        wxPanel* _metadata_panel;
        wxCheckBox* _set_language;
@@ -93,9 +88,6 @@ private:
        wxDirPickerCtrl* _default_directory;
 #endif
        wxButton* _default_dci_metadata_button;
-       wxChoice* _reference_scaler;
-       wxStaticText* _reference_filters;
-       wxButton* _reference_filters_button;
        wxListCtrl* _servers;
        wxButton* _add_server;
        wxButton* _edit_server;
index c9664212425e6cb916f71f32163e2ecb884ba0aa..12b316dffd66e0c106b97b56979341e327280611 100644 (file)
@@ -32,7 +32,6 @@
 #include "lib/film.h"
 #include "lib/transcode_job.h"
 #include "lib/exceptions.h"
-#include "lib/ab_transcode_job.h"
 #include "lib/job_manager.h"
 #include "lib/filter.h"
 #include "lib/ratio.h"
index 1e0641ac4330d5ec576aa33c9135db7906977e10..40527ded712b038c25d4c3b3ff13e329400504fb 100644 (file)
@@ -1,5 +1,3 @@
-/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */
-
 /*
     Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
 
index e0406db55dcce676f671d6027369c593dfa239d8..4a0d575343d91444969e619bca2c966e2765230e 100644 (file)
@@ -33,7 +33,6 @@ BOOST_AUTO_TEST_CASE (film_metadata_test)
        f->set_name ("fred");
        f->set_dcp_content_type (DCPContentType::from_pretty_name ("Short"));
        f->set_container (Ratio::from_id ("185"));
-       f->set_ab (true);
        f->write_metadata ();
 
        stringstream s;
@@ -46,7 +45,6 @@ BOOST_AUTO_TEST_CASE (film_metadata_test)
        BOOST_CHECK_EQUAL (g->name(), "fred");
        BOOST_CHECK_EQUAL (g->dcp_content_type(), DCPContentType::from_pretty_name ("Short"));
        BOOST_CHECK_EQUAL (g->container(), Ratio::from_id ("185"));
-       BOOST_CHECK_EQUAL (g->ab(), true);
        
        g->write_metadata ();
        BOOST_CHECK_EQUAL (::system (s.str().c_str ()), 0);