MCPcopy Create free account
hub / github.com/IENT/YUView / getLibPaths

Method getLibPaths

YUViewLib/src/ffmpeg/FFmpegLibraryFunctions.cpp:323–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323QStringList 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
349void FFmpegLibraryFunctions::log(QString message)
350{

Callers 2

getLibraryPathsMethod · 0.45
getLibraryPathsMethod · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected