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

View File

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