Remove VideoProvider::GetPosition, as it's unused and unneeded

Originally committed to SVN as r6433.
This commit is contained in:
Thomas Goyne 2012-02-02 19:18:30 +00:00
parent 6717334c12
commit 6c365f0e6a
6 changed files with 0 additions and 6 deletions

View file

@ -57,7 +57,6 @@ public:
virtual const AegiVideoFrame GetFrame(int n)=0;
// Override the following methods to get video information:
virtual int GetPosition() const=0; ///< Get the number of the last frame loaded
virtual int GetFrameCount() const=0; ///< Get total number of frames
virtual int GetWidth() const=0; ///< Returns the video width in pixels
virtual int GetHeight() const=0; ///< Returns the video height in pixels

View file

@ -66,7 +66,6 @@ public:
const AegiVideoFrame GetFrame(int n);
int GetPosition() const { return last_fnum; };
int GetFrameCount() const { return vi.num_frames; };
agi::vfr::Framerate GetFPS() const { return fps; };
int GetWidth() const { return vi.width; };

View file

@ -71,7 +71,6 @@ public:
virtual ~VideoProviderCache();
// Override the following methods:
int GetPosition() const { return master->GetPosition(); }
int GetFrameCount() const { return master->GetFrameCount(); }
int GetWidth() const { return master->GetWidth(); }
int GetHeight() const { return master->GetHeight(); }

View file

@ -77,7 +77,6 @@ public:
const AegiVideoFrame GetFrame(int n);
static wxString MakeFilename(double fps, int frames, int _width, int _height, const wxColour &colour, bool pattern);
int GetPosition() const { return lastFrame; }
int GetFrameCount() const { return framecount; }
int GetWidth() const { return width; }
int GetHeight() const { return height; }

View file

@ -71,7 +71,6 @@ public:
const AegiVideoFrame GetFrame(int n);
int GetPosition() const { return FrameNumber; }
int GetFrameCount() const { return VideoInfo->NumFrames; }
int GetWidth() const { return Width; }
int GetHeight() const { return Height; }

View file

@ -143,7 +143,6 @@ public:
const AegiVideoFrame GetFrame(int n);
int GetPosition() const { return cur_fn; }
int GetFrameCount() const { return num_frames; }
int GetWidth() const { return w; }
int GetHeight() const { return h; }