#include "FormatUtils.hpp" #include #include std::string fourccToName(uint32_t drmFormat) { auto fmt = drmGetFormatName(drmFormat); return fmt ? fmt : "unknown"; }