Definition at line 1056 of file RgbDataSrcLavc_old.h. References ILOG_DEBUG. 01057 { 01058 const int firstValidFrameNr = FrameNr(); 01059 while (FrameNr() < mLastFrame) 01060 //while (FrameNr() < 10) 01061 { 01062 const int frameNr = FrameNr(); 01063 // did reading a frame result in a valid frame? 01064 if (frameNr > mBufferedFrameNr) 01065 { 01066 MarkBadFrame(frameNr); 01067 ILOG_DEBUG("Found a bad frame where mCurrentFrameNr = " << 01068 frameNr << " (and mBufferedFrameNr = " << 01069 mBufferedFrameNr << ")"); 01070 //AddIndex(frameNr, -1, -1, DUMMY_FRAME_HASH); 01071 //ILOG_DEBUG(frameNr<< " -1 -1 " << DUMMY_FRAME_HASH); 01072 } 01073 else 01074 { 01075 // hashes calculated appear not to be reproducable and are 01076 // therefore useless. 01077 //const String frameHash = CalcHash(); 01078 //const String frameHash = "0123456789abcdef0123456789abcdef"; 01079 //const FixedString hashAsFixedStr(HASH_SIZE, (char*) hash.c_str(), false); 01080 //AddIndex(frameNr, firstValidFrameNr, 0, frameHash); 01081 //ILOG_DEBUG(frameNr << " 0 0 " << frameHash); 01082 } 01083 01084 NextFrame(); 01085 } 01086 01087 //mIndexExists = true; 01088 }
|