mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Include GIT version, when build from git.
This commit is contained in:
parent
67e571f02b
commit
82f61de117
@ -43,7 +43,11 @@ extern "C"
|
|||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
static const char *const VERSION = "0.4.9";
|
static const char *const VERSION = "0.4.9"
|
||||||
|
#ifdef GIT_REV
|
||||||
|
"-GIT" GIT_REV
|
||||||
|
#endif
|
||||||
|
;
|
||||||
static const char *const DESCRIPTION =
|
static const char *const DESCRIPTION =
|
||||||
trNOOP("A software and GPU emulated HD device");
|
trNOOP("A software and GPU emulated HD device");
|
||||||
|
|
||||||
@ -955,7 +959,7 @@ bool cSoftHdDevice::SetPlayMode(ePlayMode play_mode)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ::SetPlayMode(play_mode);
|
return::SetPlayMode(play_mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1076,8 +1080,8 @@ bool cSoftHdDevice::Flush(int timeout_ms)
|
|||||||
** Sets the video display format to the given one (only useful if this
|
** Sets the video display format to the given one (only useful if this
|
||||||
** device has an MPEG decoder).
|
** device has an MPEG decoder).
|
||||||
*/
|
*/
|
||||||
void cSoftHdDevice:: SetVideoDisplayFormat(eVideoDisplayFormat
|
void cSoftHdDevice::
|
||||||
video_display_format)
|
SetVideoDisplayFormat(eVideoDisplayFormat video_display_format)
|
||||||
{
|
{
|
||||||
static int last = -1;
|
static int last = -1;
|
||||||
|
|
||||||
@ -1306,6 +1310,11 @@ cPluginSoftHdDevice::~cPluginSoftHdDevice(void)
|
|||||||
::SoftHdDeviceExit();
|
::SoftHdDeviceExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
** Return plugin version number.
|
||||||
|
**
|
||||||
|
** @returns version number as constant string.
|
||||||
|
*/
|
||||||
const char *cPluginSoftHdDevice::Version(void)
|
const char *cPluginSoftHdDevice::Version(void)
|
||||||
{
|
{
|
||||||
return VERSION;
|
return VERSION;
|
||||||
|
Loading…
Reference in New Issue
Block a user