summaryrefslogtreecommitdiff
path: root/src/lib/playlist.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-04 10:13:41 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-04 10:13:41 +0100
commit6bc12a2eeb9c84a539688f2f7eb876e3ea278a9f (patch)
tree80339d65a1c1d6bfefc5ad164617f9b589220b10 /src/lib/playlist.h
parentd0c2e5d14224e0d1058a9b7058f88e6b32dc8e6f (diff)
Split playlist files up; fix build.
Diffstat (limited to 'src/lib/playlist.h')
-rw-r--r--src/lib/playlist.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h
index 480f1b2ed..29a52d433 100644
--- a/src/lib/playlist.h
+++ b/src/lib/playlist.h
@@ -93,42 +93,3 @@ private:
std::list<boost::shared_ptr<const ImageMagickContent> > _imagemagick;
std::list<boost::shared_ptr<const SndfileContent> > _sndfile;
};
-
-class Player : public VideoSource, public AudioSource, public VideoSink, public AudioSink, public boost::enable_shared_from_this<Player>
-{
-public:
- Player (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist>);
-
- void disable_video ();
- void disable_audio ();
- void disable_subtitles ();
- void disable_video_sync ();
-
- bool pass ();
- void set_progress (boost::shared_ptr<Job>);
- bool seek (double);
- bool seek_to_last ();
-
- double last_video_time () const;
-
-private:
- void process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr<Subtitle> s);
- void process_audio (boost::shared_ptr<AudioBuffers>);
- void setup_decoders ();
-
- boost::shared_ptr<const Film> _film;
- boost::shared_ptr<const Playlist> _playlist;
-
- bool _video;
- bool _audio;
- bool _subtitles;
-
- bool _have_setup_decoders;
- boost::shared_ptr<FFmpegDecoder> _ffmpeg_decoder;
- bool _ffmpeg_decoder_done;
- std::list<boost::shared_ptr<ImageMagickDecoder> > _imagemagick_decoders;
- std::list<boost::shared_ptr<ImageMagickDecoder> >::iterator _imagemagick_decoder;
- std::list<boost::shared_ptr<SndfileDecoder> > _sndfile_decoders;
-
- bool _video_sync;
-};