Definition at line 385 of file VideoAccessStrategy.h. References DecodeNextFrame(). Referenced by Impala::Core::Stream::Lavc::StrategyUsingNativeIndex::ConstructIndexProtected(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::IsValidSeekTarget(), Jump(), Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::NextFrameMatchesFrame(), Impala::Core::Stream::Lavc::StrategyUsingNativeIndex::ScanProtected(), and Impala::Core::Stream::Lavc::StrategyIgnoringNativeIndex::ScanProtected(). 00386 { 00387 bool isValidFrame; 00388 bool isKeyFrame; 00389 do 00390 { 00391 if (DecodeNextFrame(&isValidFrame, &isKeyFrame, pktTrace) != 0) 00392 // eof or error 00393 return false; 00394 if (!isValidFrame) 00395 { 00396 //ILOG_DEBUG("Skipping invalid frame"); 00397 continue; 00398 } 00399 if (lookForKeyFrame && !isKeyFrame) 00400 { 00401 //ILOG_DEBUG("Skipping non-keyframe"); 00402 continue; 00403 } 00404 break; 00405 } while (true); 00406 00407 return true; 00408 }
Here is the call graph for this function:
|