Update DCP encoder progress on all passe()es, not just when audio is emitted.
[dcpomatic.git] / src / lib / player.h
index 43c46945cb4f7fd8057a502ce5b11bc58483de84..48f6f97ca2b6a542cb9d5b39afcde5a657527058 100644 (file)
@@ -91,6 +91,7 @@ public:
        bool pass ();
        void seek (dcpomatic::DCPTime time, bool accurate);
        Frame frames_done() const;
+       float progress() const;
 
        std::vector<std::shared_ptr<dcpomatic::Font>> get_subtitle_fonts ();