Kill VideoContext::keyframesRevision, which is no longer used

Originally committed to SVN as r5067.
This commit is contained in:
Thomas Goyne 2010-12-30 22:19:18 +00:00
parent 4684d5c4f8
commit 364f398c5f
2 changed files with 0 additions and 9 deletions

View File

@ -134,7 +134,6 @@ void VideoContext::Reset() {
keyFrames.clear();
videoFPS = agi::vfr::Framerate();
keyframesRevision++;
// Remove video data
frame_n = 0;
@ -469,12 +468,10 @@ void VideoContext::LoadKeyframes(wxString filename) {
catch (...) {
wxMessageBox(_T("Unknown error"), _T("Error opening keyframes file"), wxOK | wxICON_ERROR, NULL);
}
keyframesRevision++;
}
void VideoContext::SaveKeyframes(wxString filename) {
KeyFrameFile::Save(filename, GetKeyFrames());
keyframesRevision++;
}
void VideoContext::CloseKeyframes() {
@ -486,7 +483,6 @@ void VideoContext::CloseKeyframes() {
keyFrames.clear();
}
KeyframesOpen(keyFrames);
keyframesRevision++;
}
void VideoContext::LoadTimecodes(wxString filename) {

View File

@ -102,10 +102,6 @@ private:
/// DOCME
wxString keyFramesFilename;
/// Revision counter for keyframes, when the set of keyframes is changed this number changes
int keyframesRevision;
/// DOCME
wxMutex playMutex;
@ -270,7 +266,6 @@ public:
void CloseKeyframes();
bool OverKeyFramesLoaded() const { return !keyFramesFilename.empty(); }
bool KeyFramesLoaded() const { return !keyFrames.empty(); }
int GetKeyframesRevision() const { return keyframesRevision; }
wxString GetTimecodesName() const { return ovrTimecodeFile; }
void LoadTimecodes(wxString filename);