Fix incorrect reel lengths in some cases; account for emitted data being rejected...
[dcpomatic.git] / src / lib / player.h
index 9dd5afd26ae3114e66b5a2121936702c5ab97014..ed55b62849eec0a763811fa10bf20a5ed2c496b4 100644 (file)
@@ -105,8 +105,8 @@ private:
        ContentTime dcp_to_content_time (boost::shared_ptr<const Piece> piece, DCPTime t) const;
        DCPTime content_time_to_dcp (boost::shared_ptr<const Piece> piece, ContentTime t) const;
        boost::shared_ptr<PlayerVideo> black_player_video_frame () const;
-       void video (boost::weak_ptr<Piece>, ContentVideo);
-       void audio (boost::weak_ptr<Piece>, AudioStreamPtr, ContentAudio);
+       bool video (boost::weak_ptr<Piece>, ContentVideo);
+       Frame audio (boost::weak_ptr<Piece>, AudioStreamPtr, ContentAudio);
        void image_subtitle_start (boost::weak_ptr<Piece>, ContentImageSubtitle);
        void text_subtitle_start (boost::weak_ptr<Piece>, ContentTextSubtitle);
        void subtitle_stop (boost::weak_ptr<Piece>, ContentTime);