MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / isVideoFileExtension

Function isVideoFileExtension

Engine/FileSystemModel.cpp:1556–1577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1554}
1555
1556static bool
1557isVideoFileExtension(const std::string& ext)
1558{
1559 if ( (ext == "mov") ||
1560 ( ext == "avi") ||
1561 ( ext == "mp4") ||
1562 ( ext == "mpeg") ||
1563 ( ext == "flv") ||
1564 ( ext == "mkv") ||
1565 ( ext == "mxf") ||
1566 ( ext == "mpg") ||
1567 ( ext == "mts") ||
1568 ( ext == "m2ts") ||
1569 ( ext == "ts") ||
1570 ( ext == "webm") ||
1571 ( ext == "ogg") ||
1572 ( ext == "ogv") ) {
1573 return true;
1574 }
1575
1576 return false;
1577}
1578
1579typedef std::list<std::pair<SequenceParsing::SequenceFromFilesPtr, QFileInfo > > FileSequences;
1580

Callers 1

gatheringKernelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected