linux-wallpaperengine/src/WallpaperEngine/Core/CVideo.cpp
IceCryptonym 5d5ce361fe
Initial video support without audio (#14)
* 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
2020-04-27 18:50:17 +02:00

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";