*/
-#ifndef DVDOMATIC_PLAYER_H
-#define DVDOMATIC_PLAYER_H
+#ifndef DCPOMATIC_PLAYER_H
+#define DCPOMATIC_PLAYER_H
#include <list>
#include <boost/shared_ptr.hpp>
#include "video_sink.h"
#include "audio_sink.h"
-class FFmpegDecoder;
-class ImageMagickDecoder;
+class VideoDecoder;
class SndfileDecoder;
class Job;
class Film;
bool pass ();
void set_progress (boost::shared_ptr<Job>);
bool seek (double);
- bool seek_to_last ();
double last_video_time () const;
bool _subtitles;
bool _have_valid_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<VideoDecoder> > _video_decoders;
+ std::list<boost::shared_ptr<VideoDecoder> >::iterator _video_decoder;
std::list<boost::shared_ptr<SndfileDecoder> > _sndfile_decoders;
boost::shared_ptr<AudioBuffers> _sndfile_buffers;