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:
|