diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-09 23:43:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-09 23:43:00 +0100 |
| commit | b66010a281acd3e3e58ef7202bce55023fc29d7f (patch) | |
| tree | e23ee83991adef3577caf8dd605f5ce06d00704c /src/lib/player.h | |
| parent | e94cd129dcd66a76210880bfdf19d27f7992651b (diff) | |
Merge ImageMagick and FFmpeg content into VideoContent list; remove seek_to_last hacks.
Diffstat (limited to 'src/lib/player.h')
| -rw-r--r-- | src/lib/player.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/player.h b/src/lib/player.h index afc856316..8a82ab298 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -28,8 +28,7 @@ #include "video_sink.h" #include "audio_sink.h" -class FFmpegDecoder; -class ImageMagickDecoder; +class VideoDecoder; class SndfileDecoder; class Job; class Film; @@ -49,7 +48,6 @@ public: bool pass (); void set_progress (boost::shared_ptr<Job>); bool seek (double); - bool seek_to_last (); double last_video_time () const; @@ -68,10 +66,8 @@ private: 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; |
