Commit 18ec1d8a authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

removed more unused variables

parent 3f086bdf
...@@ -401,9 +401,7 @@ public: ...@@ -401,9 +401,7 @@ public:
bEndReached = false; bEndReached = false;
bNewPixels = false; bNewPixels = false;
bFrameNew = false; bFrameNew = false;
curMovieFrame = -1;
curMovieTime = -1.; curMovieTime = -1.;
frameCount = -1;
bNewlyOpened = false; bNewlyOpened = false;
movieRate = 1.0; movieRate = 1.0;
...@@ -451,7 +449,6 @@ MARK(); ...@@ -451,7 +449,6 @@ MARK();
if(Time != curMovieTime) if(Time != curMovieTime)
bFrameNew = true; bFrameNew = true;
curMovieTime = Time; curMovieTime = Time;
frameCount++;
LeaveCriticalSection(&critSection); LeaveCriticalSection(&critSection);
} else { } else {
...@@ -733,13 +730,6 @@ MARK(); ...@@ -733,13 +730,6 @@ MARK();
long ptrParam2 = 0; long ptrParam2 = 0;
#endif #endif
if( curMovieFrame != frameCount ) {
bFrameNew = true;
} else {
bFrameNew = false;
}
curMovieFrame = frameCount;
while (S_OK == m_pEvent->GetEvent(&eventCode, &ptrParam1, &ptrParam2, 0)) { while (S_OK == m_pEvent->GetEvent(&eventCode, &ptrParam1, &ptrParam2, 0)) {
if (eventCode == EC_COMPLETE ) { if (eventCode == EC_COMPLETE ) {
if(bLoop) { if(bLoop) {
...@@ -1124,8 +1114,6 @@ protected: ...@@ -1124,8 +1114,6 @@ protected:
bool bEndReached; bool bEndReached;
double movieRate; double movieRate;
double curMovieTime; double curMovieTime;
int curMovieFrame;
int frameCount;
bool bNewlyOpened; bool bNewlyOpened;
CRITICAL_SECTION critSection; CRITICAL_SECTION critSection;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment