Definition at line 370 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(). 00371 { 00372 bool isValidFrame; 00373 bool isKeyFrame; 00374 do 00375 { 00376 if (DecodeNextFrame(&isValidFrame, &isKeyFrame, pktTrace) != 0) 00377 // eof or error 00378 return false; 00379 if (!isValidFrame) 00380 { 00381 //ILOG_DEBUG("Skipping invalid frame"); 00382 continue; 00383 } 00384 if (lookForKeyFrame && !isKeyFrame) 00385 { 00386 //ILOG_DEBUG("Skipping non-keyframe"); 00387 continue; 00388 } 00389 break; 00390 } while (true); 00391 00392 return true; 00393 }
Here is the call graph for this function:
|