mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
More Konfigs nad skindesigner fixes
This commit is contained in:
parent
2253957c11
commit
4f4472d4a7
@ -1080,9 +1080,10 @@ void cMenuSetupSoft::Create(void)
|
|||||||
Add(new cMenuEditIntItem(tr("Video background color (Alpha)"),
|
Add(new cMenuEditIntItem(tr("Video background color (Alpha)"),
|
||||||
(int *)&BackgroundAlpha, 0, 0xFF));
|
(int *)&BackgroundAlpha, 0, 0xFF));
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef PLACEBO
|
||||||
Add(new cMenuEditBoolItem(tr("Use studio levels"),
|
Add(new cMenuEditBoolItem(tr("Use studio levels"),
|
||||||
&StudioLevels, trVDR("no"), trVDR("yes")));
|
&StudioLevels, trVDR("no"), trVDR("yes")));
|
||||||
|
#endif
|
||||||
Add(new cMenuEditBoolItem(tr("60hz display mode"), &_60HzMode,
|
Add(new cMenuEditBoolItem(tr("60hz display mode"), &_60HzMode,
|
||||||
trVDR("no"), trVDR("yes")));
|
trVDR("no"), trVDR("yes")));
|
||||||
Add(new cMenuEditBoolItem(tr("Soft start a/v sync"), &SoftStartSync,
|
Add(new cMenuEditBoolItem(tr("Soft start a/v sync"), &SoftStartSync,
|
||||||
@ -3246,19 +3247,31 @@ bool cPluginSoftHdDevice::SetupParse(const char *name, const char *value)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!strcasecmp(name, "Brightness")) {
|
if (!strcasecmp(name, "Brightness")) {
|
||||||
VideoSetBrightness(ConfigVideoBrightness = atoi(value));
|
int i;
|
||||||
|
i = atoi(value);
|
||||||
|
ConfigVideoBrightness = i>100?100:i;
|
||||||
|
VideoSetBrightness(ConfigVideoBrightness);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!strcasecmp(name, "Contrast")) {
|
if (!strcasecmp(name, "Contrast")) {
|
||||||
VideoSetContrast(ConfigVideoContrast = atoi(value));
|
int i;
|
||||||
|
i = atoi(value);
|
||||||
|
ConfigVideoContrast = i>100?100:i;
|
||||||
|
VideoSetContrast(ConfigVideoContrast);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!strcasecmp(name, "Saturation")) {
|
if (!strcasecmp(name, "Saturation")) {
|
||||||
VideoSetSaturation(ConfigVideoSaturation = atoi(value));
|
int i;
|
||||||
|
i = atoi(value);
|
||||||
|
ConfigVideoSaturation = i>100?100:i;
|
||||||
|
VideoSetSaturation(ConfigVideoSaturation);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!strcasecmp(name, "Gamma")) {
|
if (!strcasecmp(name, "Gamma")) {
|
||||||
VideoSetGamma(ConfigGamma = atoi(value));
|
int i;
|
||||||
|
i = atoi(value);
|
||||||
|
ConfigGamma = i>100?100:i;
|
||||||
|
VideoSetGamma(ConfigGamma);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!strcasecmp(name, "TargetColorSpace")) {
|
if (!strcasecmp(name, "TargetColorSpace")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user