diff options
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 39 |
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; -}; |
