| 321 | } |
| 322 | |
| 323 | QStringList FFmpegLibraryFunctions::getLibPaths() const |
| 324 | { |
| 325 | QStringList libPaths; |
| 326 | |
| 327 | auto addName = [&libPaths](QString name, const QLibrary &lib) { |
| 328 | libPaths.append(name); |
| 329 | if (lib.isLoaded()) |
| 330 | { |
| 331 | libPaths.append(lib.fileName()); |
| 332 | libPaths.append(lib.fileName()); |
| 333 | } |
| 334 | else |
| 335 | { |
| 336 | libPaths.append("None"); |
| 337 | libPaths.append("None"); |
| 338 | } |
| 339 | }; |
| 340 | |
| 341 | addName("AVCodec", this->libAvcodec); |
| 342 | addName("AVFormat", this->libAvformat); |
| 343 | addName("AVUtil", this->libAvutil); |
| 344 | addName("SwResample", this->libSwresample); |
| 345 | |
| 346 | return libPaths; |
| 347 | } |
| 348 | |
| 349 | void FFmpegLibraryFunctions::log(QString message) |
| 350 | { |
no test coverage detected