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

Method Mp4Profile

Source/MediaInfo/MediaInfo_Config.cpp:3979–3999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3977
3978#if MEDIAINFO_CONFORMANCE
3979string MediaInfo_Config::Mp4Profile(const Ztring& Value)
3980{
3981 ZtringList List;
3982 List.Separator_Set(0, __T(","));
3983 List.Write(Value);
3984 string Temp;
3985 for (const auto& ItemZ : List)
3986 {
3987 const auto Item = ItemZ.To_UTF8();
3988 if (false)
3989 ;
3990 else if (Item == "cmfc" || Item == "cmff" || Item == "cmfl" || Item == "cmfs" || Item == "cmaf")
3991 Temp += "cmfc";
3992 else
3993 return "Unknown MP4 profile " + Item;
3994 }
3995
3996 CriticalSectionLocker CSL(CS);
3997 Mp4_Profile = Temp;
3998 return {};
3999}
4000#endif //MEDIAINFO_CONFORMANCE
4001
4002#if MEDIAINFO_CONFORMANCE

Callers 1

Read_Buffer_InitMethod · 0.80

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected