Definition at line 672 of file VideoAccessStrategy.h. References Impala::Core::Stream::Lavc::VideoIndex::IsSeekable(), JumpValidForFrame(), mFailingKeyFrameNr, NrOfFrames(), and ResetVideoSrc(). Referenced by IndexValid(). 00673 { 00674 int startFrame = 0; 00675 for (int f = startFrame; f < mFailingKeyFrameNr; f++) 00676 if (idx.IsSeekable(f)) 00677 startFrame = f; 00678 00679 ResetVideoSrc(); 00680 for (int f = startFrame; f < NrOfFrames(); f++) 00681 if (idx.IsSeekable(f) && !JumpValidForFrame(f, idx)) 00682 { 00683 mFailingKeyFrameNr = f; 00684 return false; 00685 } 00686 return true; 00687 }
Here is the call graph for this function:
|