X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_decoder.h;h=7ad6fcbf7c53eff44193f4c5c289e424fd94c2b3;hb=368832f2ff6837d9029020b41fb97fb148c3be31;hp=b7141f91643d645e76a034e2a0e7d7b1e91bf050;hpb=2da8a38e3cc9bebfe324a682d8e4da2e8856676a;p=dcpomatic.git diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index b7141f916..7ad6fcbf7 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -26,6 +26,9 @@ namespace dcp { class Reel; + class MonoPictureAssetReader; + class StereoPictureAssetReader; + class SoundAssetReader; } class DCPContent; @@ -47,15 +50,23 @@ private: bool pass (PassReason, bool accurate); void seek (ContentTime t, bool accurate); void next_reel (); + void get_readers (); std::list image_subtitles_during (ContentTimePeriod, bool starting) const; std::list text_subtitles_during (ContentTimePeriod, bool starting) const; + boost::shared_ptr _dcp_content; /** Time of next thing to return from pass relative to the start of _reel */ ContentTime _next; std::list > _reels; + std::list >::iterator _reel; /** Offset of _reel from the start of the content in frames */ int64_t _offset; - boost::shared_ptr _dcp_content; + /** Reader for current mono picture asset, if applicable */ + boost::shared_ptr _mono_reader; + /** Reader for current stereo picture asset, if applicable */ + boost::shared_ptr _stereo_reader; + /** Reader for current sound asset, if applicable */ + boost::shared_ptr _sound_reader; };