summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-16 14:53:22 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-16 14:53:22 +0000
commitaa230169f8b59b7cb2da9a3bbb8ce5f7600285c0 (patch)
tree5cde52f6c50b9a56597e0f6ebad1f8e4aa5e1c8d /src/lib/video_decoder.h
parent7fd2aff3af82d3e573934d046be26b72a67a93e6 (diff)
parent3ce37f08e98b9c3a238fb1c9a6184fb7fd4e5667 (diff)
Merge speed-up branch.
Diffstat (limited to 'src/lib/video_decoder.h')
-rw-r--r--src/lib/video_decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h
index 41e876e0a..f682941d1 100644
--- a/src/lib/video_decoder.h
+++ b/src/lib/video_decoder.h
@@ -33,6 +33,8 @@ public:
virtual float frames_per_second () const = 0;
/** @return native size in pixels */
virtual Size native_size () const = 0;
+ /** @return length (in source video frames), according to our content's header */
+ virtual SourceFrame length () const = 0;
virtual int time_base_numerator () const = 0;
virtual int time_base_denominator () const = 0;