Merge speed-up branch.
[dcpomatic.git] / src / lib / ffmpeg_decoder.h
index 1db46a4230c7390b908ea651684be5d9b06820c7..35688003ec9b9975cbedd251d9b20cacf5879520 100644 (file)
@@ -58,7 +58,7 @@ public:
                , _name (n)
                , _id (i)
        {}
-                 
+
        std::string to_string () const;
 
        std::string name () const {
@@ -91,6 +91,7 @@ public:
 
        float frames_per_second () const;
        Size native_size () const;
+       SourceFrame length () const;
        int time_base_numerator () const;
        int time_base_denominator () const;
        int sample_aspect_ratio_numerator () const;