Fix windows build

This commit is contained in:
2021-11-28 20:34:41 +00:00
parent aac02a9959
commit e6970fb953
5 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ bool StreamHandlerRaw::openHandler( std::string strFilename, bool bInput )
return false;
}
calculateFrameNumber();
std::string fileExtension = std::filesystem::path{ strFilename }.extension();
std::string fileExtension = std::filesystem::path{ strFilename }.extension().string();
fileExtension.erase( fileExtension.begin() );
m_strFormatName = clpUppercase( fileExtension );
m_strCodecName = "Raw Video";