diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-31 16:04:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-31 16:04:10 +0100 |
| commit | a054c067ab2cbf6c5abc5df4caa08ffaac206f0b (patch) | |
| tree | 1f5b68b3030be1bac9b51fbcbe42d176ad6f60c0 /src/lib/playlist.h | |
| parent | 5920000d247ab3ef7fb9ba29c6ba238b323cf909 (diff) | |
Content can be added and previewed.
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h index b42d46036..d374dc98c 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -48,16 +48,25 @@ public: float video_frame_rate () const; libdcp::Size video_size () const; + ContentVideoFrame video_length () const; 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 (); 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; + enum { VIDEO_NONE, VIDEO_FFMPEG, @@ -74,9 +83,12 @@ private: std::list<boost::shared_ptr<ImageMagickContent> > _imagemagick; std::list<boost::shared_ptr<SndfileContent> > _sndfile; + 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; }; |
