summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-09 23:43:00 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-09 23:43:00 +0100
commitb66010a281acd3e3e58ef7202bce55023fc29d7f (patch)
treee23ee83991adef3577caf8dd605f5ce06d00704c /src/lib/player.h
parente94cd129dcd66a76210880bfdf19d27f7992651b (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.h10
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;