Support for mpv user shaders with libplacebo

This commit is contained in:
jojo61
2020-06-07 12:31:18 +02:00
parent c7c4cb06a6
commit 03b770ce47
7 changed files with 211 additions and 29 deletions

View File

@@ -61,7 +61,7 @@ extern "C"
/// vdr-plugin version number.
/// Makefile extracts the version number for generating the file name
/// for the distribution archive.
static const char *const VERSION = "3.1.1"
static const char *const VERSION = "3.2.0"
#ifdef GIT_REV
"-GIT" GIT_REV
#endif
@@ -112,6 +112,7 @@ static int ConfigScalerTest; /// Test for Scalers
static int ConfigColorBlindness;
static int ConfigColorBlindnessFaktor;
/// config deinterlace
static int ConfigVideoDeinterlace[RESOLUTIONS];
@@ -3065,7 +3066,9 @@ bool cPluginSoftHdDevice::ProcessArgs(int argc, char *argv[])
bool cPluginSoftHdDevice::Initialize(void)
{
// dsyslog("[softhddev]%s:\n", __FUNCTION__);
#if defined PLACEBO
MyConfigDir = cPlugin::ConfigDirectory("shaders");
#endif
MyDevice = new cSoftHdDevice();
return true;