| 3977 | |
| 3978 | #if MEDIAINFO_CONFORMANCE |
| 3979 | string 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 |