| 290 | } |
| 291 | |
| 292 | bool OfflineVideoEncoder::writeFrameInfo(const FrameInfo& frameInfo, const std::string& filePath) { |
| 293 | std::string frameInfoData = QString(R"({ "FrameType": %1, "TimeStamp": %2, "FrameSize": %3 })") |
| 294 | .arg(static_cast<int>(frameInfo.frameType)) |
| 295 | .arg(static_cast<float>(frameInfo.timeStamp), 0, 'f', 0) |
| 296 | .arg(frameInfo.frameSize) |
| 297 | .toStdString(); |
| 298 | return WriteTextFile(filePath, frameInfoData) != 0; |
| 299 | } |
| 300 | |
| 301 | } // namespace exporter |
nothing calls this directly
no test coverage detected