aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/coktel_decoder.cpp8
-rw-r--r--graphics/video/coktel_decoder.h4
2 files changed, 11 insertions, 1 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp
index fe5d90499e..cb1d968d16 100644
--- a/graphics/video/coktel_decoder.cpp
+++ b/graphics/video/coktel_decoder.cpp
@@ -167,6 +167,10 @@ bool CoktelDecoder::hasPalette() const {
return (_features & kFeaturesPalette) != 0;
}
+bool CoktelDecoder::hasVideo() const {
+ return true;
+}
+
bool CoktelDecoder::hasSound() const {
return _hasSound;
}
@@ -2716,6 +2720,10 @@ int32 VMDDecoder::getSubtitleIndex() const {
return _subtitle;
}
+bool VMDDecoder::hasVideo() const {
+ return _hasVideo;
+}
+
bool VMDDecoder::isPaletted() const {
return _isPaletted;
}
diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h
index d2e927c8e0..441bdc8184 100644
--- a/graphics/video/coktel_decoder.h
+++ b/graphics/video/coktel_decoder.h
@@ -90,6 +90,7 @@ public:
const Common::List<Common::Rect> &getDirtyRects() const;
bool hasPalette() const;
+ virtual bool hasVideo() const;
bool hasSound() const;
bool isSoundEnabled() const;
@@ -355,7 +356,8 @@ public:
int32 getSubtitleIndex() const;
- virtual bool isPaletted() const;
+ bool hasVideo() const;
+ bool isPaletted() const;
// VideoDecoder interface