mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-16 14:22:24 +08:00

* Adds FFmpeg to CMake * Refactors to allow support for other wallpaper types * Updates README.md for compilation requirements * Initial video support without audio * Properly support different wallpapers * Fixes videos not rendering * Nitpicks * Moves code related to rendering from Core::CVideo to Render::CVideo
18 lines
300 B
C++
18 lines
300 B
C++
#include "CVideo.h"
|
|
|
|
using namespace WallpaperEngine::Core;
|
|
|
|
CVideo::CVideo (
|
|
const irr::io::path& filename) :
|
|
CWallpaper (Type),
|
|
m_filename (filename)
|
|
{
|
|
}
|
|
|
|
const irr::io::path CVideo::getFilename ()
|
|
{
|
|
return this->m_filename;
|
|
}
|
|
|
|
const std::string CVideo::Type = "video";
|