Resets the video source; no data is read.
Definition at line 293 of file VideoAccessObject.h. References FirstPacketPosition(), FlushCodecContext(), FreePacket(), ILOG_DEBUG, ILOG_ERROR, and Seek(). Referenced by Impala::Core::Stream::Lavc::VideoAccessStrategy::ResetVideoSrc(), and Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::ScanProtected(). 00294 { 00295 FreePacket(); 00296 FlushCodecContext(); 00297 00298 if (!Seek(FirstPacketPosition(), AVSEEK_FLAG_BYTE)) 00299 { 00300 ILOG_ERROR("Video source reset failed"); 00301 return false; 00302 } 00303 00304 ILOG_DEBUG("Video source has been reset"); 00305 return true; 00306 }
Here is the call graph for this function:
|