aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/video_player.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-01-11 04:20:59 +0000
committerFilippos Karapetis2009-01-11 04:20:59 +0000
commitffa104da856e5c340bdcf6390812cdbd650a896d (patch)
tree8d765caf6094317d4db06c12e2f3af37497a55a3 /graphics/video/video_player.h
parent0b4dd7c4593587355c1965eb0d266040c83f0382 (diff)
downloadscummvm-rg350-ffa104da856e5c340bdcf6390812cdbd650a896d.tar.gz
scummvm-rg350-ffa104da856e5c340bdcf6390812cdbd650a896d.tar.bz2
scummvm-rg350-ffa104da856e5c340bdcf6390812cdbd650a896d.zip
Fixed compilation
svn-id: r35817
Diffstat (limited to 'graphics/video/video_player.h')
-rw-r--r--graphics/video/video_player.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/video/video_player.h b/graphics/video/video_player.h
index a32996df75..3073538cab 100644
--- a/graphics/video/video_player.h
+++ b/graphics/video/video_player.h
@@ -26,9 +26,9 @@
#ifndef GRAPHICS_VIDEO_PLAYER_H
#define GRAPHICS_VIDEO_PLAYER_H
-#include "common/scummsys.h"
#include "common/events.h"
#include "common/list.h"
+#include "common/stream.h"
namespace Common {
class SeekableReadStream;
@@ -119,12 +119,12 @@ public:
/**
* Return the black palette color for the current frame
*/
- byte getBlack() { return _black; }
+ byte getBlack() { return _curFrameBlack; }
/**
* Return the white palette color for the current frame
*/
- byte getWhite() { return _white; }
+ byte getWhite() { return _curFrameWhite; }
/**
* Copy current frame into the specified position of the destination
@@ -152,7 +152,7 @@ protected:
uint32 startTime;
} _videoInfo;
- byte _black, _white;
+ byte _curFrameBlack, _curFrameWhite;
Common::SeekableReadStream *_fileStream;
byte *_videoFrameBuffer;
@@ -162,7 +162,7 @@ class VideoPlayer {
public:
VideoPlayer(VideoDecoder* decoder) : _skipVideo(false), _decoder(decoder)
{ }
- ~VideoPlayer() { }
+ virtual ~VideoPlayer() { }
/**
* A default implementation of a video player
* Plays a non-interactive full screen video till it's stopped by a