Definition at line 640 of file VideoAccessStrategy.h. References Impala::Core::Stream::Lavc::VideoIndex::IsSeekable(), JumpValidForFrame(), mFailingKeyFrameNr, and NrOfFrames(). Referenced by IndexValid(). 00641 { 00642 const int startFrame = 00643 (mFailingKeyFrameNr < 0) ? NrOfFrames() : mFailingKeyFrameNr; 00644 for (int f = startFrame; f > 0 ; ) 00645 if (idx.IsSeekable(--f)) 00646 { 00647 //ResetVideoSrc(); 00648 if (!JumpValidForFrame(f, idx)) 00649 { 00650 mFailingKeyFrameNr = f; 00651 return false; 00652 } 00653 } 00654 return true; 00655 }
Here is the call graph for this function:
|