summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_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/ffmpeg_decoder.h
parent7fd2aff3af82d3e573934d046be26b72a67a93e6 (diff)
parent3ce37f08e98b9c3a238fb1c9a6184fb7fd4e5667 (diff)
Merge speed-up branch.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 1db46a423..35688003e 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -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;