aboutsummaryrefslogtreecommitdiff
path: root/video/video_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/video_decoder.h')
-rw-r--r--video/video_decoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/video_decoder.h b/video/video_decoder.h
index 97cd133bc0..348b5dc0a3 100644
--- a/video/video_decoder.h
+++ b/video/video_decoder.h
@@ -266,6 +266,11 @@ public:
* Implementation of RewindableVideoDecoder::rewind().
*/
virtual void rewind() { seekToTime(0); }
+
+ /**
+ * Get the total duration of the video (in ms).
+ */
+ virtual uint32 getDuration() const = 0;
};
} // End of namespace Video