Remove some unused stuff.
authorCarl Hetherington <cth@carlh.net>
Fri, 19 Jul 2013 23:53:14 +0000 (00:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 19 Jul 2013 23:53:14 +0000 (00:53 +0100)
src/lib/audio_decoder.h
src/lib/decoder.cc
src/lib/decoder.h
src/lib/ffmpeg_decoder.h
src/lib/filter_graph.cc
src/lib/filter_graph.h
src/lib/sndfile_content.cc
src/lib/subtitle_decoder.h
src/lib/video_decoder.h

index ddfb296c9a9b4fffbf8e2b94928594907566fb68..2ad53da8bf42684e544e753bc6b0ca4708c72d19 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "decoder.h"
 #include "content.h"
+#include "audio_content.h"
 
 class AudioBuffers;
 
index 637e0ddb291101af81f28115327f195a3e128116..3f4cda6eb5a4345595410fe475314f3d24881bd7 100644 (file)
@@ -34,5 +34,5 @@ using boost::shared_ptr;
 Decoder::Decoder (shared_ptr<const Film> f)
        : _film (f)
 {
-       _film_connection = f->Changed.connect (bind (&Decoder::film_changed, this, _1));
+
 }
index 6cce9e68d6939b0506900a6a1f888ff7b9481240..9eb4850f9750fa7ad967c63a7545653b82f4b642 100644 (file)
 #ifndef DCPOMATIC_DECODER_H
 #define DCPOMATIC_DECODER_H
 
-#include <vector>
-#include <string>
-#include <stdint.h>
 #include <boost/shared_ptr.hpp>
-#include <boost/signals2.hpp>
-#include "film.h"
+#include <boost/weak_ptr.hpp>
+#include <boost/utility.hpp>
 
-class Image;
-class Log;
-class DelayLine;
-class FilterGraph;
+class Film;
 
 /** @class Decoder.
  *  @brief Parent class for decoders of content.
@@ -56,13 +50,6 @@ protected:
 
        /** The Film that we are decoding in */
        boost::weak_ptr<const Film> _film;
-
-private:
-       /** This will be called when our Film emits Changed */
-       virtual void film_changed (Film::Property) {}
-
-       /** Connection to our Film */
-       boost::signals2::scoped_connection _film_connection;
 };
 
 #endif
index e6a99b157b4ba2d4d5871583109a5375d78f02f3..e3aa484d1a18673be645298d811d338decd4d338 100644 (file)
@@ -39,6 +39,7 @@ extern "C" {
 #include "ffmpeg.h"
 
 class Film;
+class FilterGraph;
 class ffmpeg_pts_offset_test;
 
 /** @class FFmpegDecoder
index a3bb0093edb1e7a84896d8286b04840962f246d4..cd5d198079683f588c2a12c68a1648e4a5136e29 100644 (file)
@@ -33,6 +33,7 @@ extern "C" {
 #include "filter.h"
 #include "exceptions.h"
 #include "image.h"
+#include "ffmpeg_content.h"
 
 #include "i18n.h"
 
index 49b78df16949c393b58560b07d52c677ca6c0245..9b403c2bc65734cf03a9b8458180a0b8695a26fc 100644 (file)
@@ -28,6 +28,7 @@
 
 class Image;
 class VideoFilter;
+class FFmpegContent;
 
 /** @class FilterGraph
  *  @brief A graph of FFmpeg filters.
index 549af09b10cd116857d9748f29102dca90f39b93..e5491480fc7737065567ad931699c0cbc57c67aa 100644 (file)
@@ -20,6 +20,7 @@
 #include <libcxml/cxml.h>
 #include "sndfile_content.h"
 #include "sndfile_decoder.h"
+#include "film.h"
 #include "compose.hpp"
 #include "job.h"
 
index 628f4d60d6da6b61a49fefcc26671bdcac4cd047..eeeadbd3f65fdda2f9ee46b90c9745f2ce713f8f 100644 (file)
@@ -24,6 +24,7 @@
 
 class Film;
 class TimedSubtitle;
+class Image;
 
 class SubtitleDecoder : public virtual Decoder
 {
index 0560cbb6f18e6dfcaada224413f018f5ddcc4483..26a11c805ceccb1ba82a669fc3d6e4473c82531b 100644 (file)
 #ifndef DCPOMATIC_VIDEO_DECODER_H
 #define DCPOMATIC_VIDEO_DECODER_H
 
+#include <boost/signals2.hpp>
+#include <boost/shared_ptr.hpp>
 #include "decoder.h"
+#include "video_content.h"
 #include "util.h"
 
 class VideoContent;
+class Image;
 
 class VideoDecoder : public virtual Decoder
 {