aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/coktel_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/video/coktel_decoder.h')
-rw-r--r--graphics/video/coktel_decoder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h
index 755406b491..76c266f5f6 100644
--- a/graphics/video/coktel_decoder.h
+++ b/graphics/video/coktel_decoder.h
@@ -110,6 +110,9 @@ public:
/** Return that embedded file. */
virtual Common::MemoryReadStream *getEmbeddedFile(const Common::String &fileName) const;
+ /** Return the current subtitle index. */
+ virtual int32 getSubtitleIndex() const;
+
// VideoDecoder interface
@@ -351,6 +354,8 @@ public:
bool hasEmbeddedFile(const Common::String &fileName) const;
Common::MemoryReadStream *getEmbeddedFile(const Common::String &fileName) const;
+ int32 getSubtitleIndex() const;
+
// VideoDecoder interface
@@ -459,6 +464,8 @@ private:
bool _externalCodec;
Codec *_codec;
+ int32 _subtitle;
+
// Loading helper functions
bool assessVideoProperties();
bool assessAudioProperties();