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

bool Impala::Core::Stream::Lavc::VideoAccessObject::Reset (  )  const [inline]

Resets the video source; no data is read.

Definition at line 293 of file VideoAccessObject.h.

References FirstPacketPosition(), FlushCodecContext(), FreePacket(), ILOG_DEBUG, ILOG_ERROR, mFrameValid, and Seek().

Referenced by Impala::Core::Stream::Lavc::VideoAccessStrategy::ResetVideoSrc(), and Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::ScanProtected().

00294     {
00295         mFrameValid = false;
00296         FreePacket();
00297         FlushCodecContext();
00298 
00299         if (!Seek(FirstPacketPosition(), AVSEEK_FLAG_BYTE))
00300         {
00301             ILOG_ERROR("Video source reset failed");
00302             return false;
00303         }
00304 
00305         ILOG_DEBUG("Video source has been reset");
00306         return true;
00307     }

Here is the call graph for this function:


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