Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::Stream::RgbDataSrcLavc_old::Reset (  )  [inline, private, virtual]

Reimplemented from Impala::Core::Stream::RgbDataSrc.

Definition at line 545 of file RgbDataSrcLavc_old.h.

References ILOG_DEBUG, and ILOG_WARN.

Referenced by Init().

00546     {
00547         ILOG_DEBUG("Rewinding stream");
00548 
00549         Int64 startPos = GetPos(mBlankFrames);
00550         if (startPos < 0)
00551         {
00552             ILOG_WARN("No position found for frame: " << mBlankFrames <<
00553                 ". Trying 0 as position (which is probably fine " <<
00554                 "for getting to the head of the file)");
00555             startPos = 0;
00556         }
00557 
00558         const int flush = 2; // i.e. flush after jump
00559         const int sync = 1;  // i.e. no sync on key frames
00560         Jump(startPos, mJumpFlags, flush, sync);
00561 
00562         mBufferedFrameNr = mBlankFrames; // the currently buffered (valid) frame
00563         mCurrentFrameNr = 0;
00564     }


Generated on Thu Jan 13 09:20:34 2011 for ImpalaSrc by  doxygen 1.5.1