Inital Support for DRM with HDR10 and HDR-HLG

This commit is contained in:
jojo61
2019-12-10 10:45:22 +01:00
parent f17e58c7c5
commit 3bed988b14
6 changed files with 1216 additions and 175 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 = "2.1.0"
static const char *const VERSION = "3.0.0"
#ifdef GIT_REV
"-GIT" GIT_REV
#endif
@@ -2472,11 +2472,17 @@ class cSoftHdDevice:public cDevice
return "softhdcuvid";
}
#endif
#ifdef VAAPI
#if defined (VAAPI) && !defined (USE_DRM)
virtual cString DeviceName(void) const
{
return "softhdvaapi";
}
#endif
#if defined (VAAPI) && defined (USE_DRM)
virtual cString DeviceName(void) const
{
return "softhddrm";
}
#endif
virtual bool HasDecoder(void) const;
virtual bool CanReplay(void) const;