MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / SelectFromExtension

Method SelectFromExtension

Source/MediaInfo/MediaInfo_File.cpp:900–910  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

898
899//---------------------------------------------------------------------------
900bool MediaInfo_Internal::SelectFromExtension (const String &Parser)
901{
902 CriticalSectionLocker CSL(CS);
903
904 //Clear last value
905 delete Info; Info=NULL;
906
907 //Searching the right File_*
908 Info=MediaInfoLib::SelectFromExtension(Parser);
909 return Info?true:false;
910}
911
912//---------------------------------------------------------------------------
913#if defined(MEDIAINFO_FILE_YES)

Callers 4

Bdmv_Format_TestMethod · 0.80
P2_Format_TestMethod · 0.80
Xdcam_Format_TestMethod · 0.80
Format_TestMethod · 0.80

Calls 1

SelectFromExtensionFunction · 0.85

Tested by

no test coverage detected