summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-06-23 16:47:04 +0200
committerJohns <johns98@gmx.net>2012-06-23 16:47:04 +0200
commit57af9863673b29e4322dd8336bb38696661bebc4 (patch)
tree36e69d87541a84ea7de090f3855e3fda4e372998
parenta2311748cac67e4b4dfae7b7ff4196b21cd0daec (diff)
downloadvdr-plugin-softhddevice-57af9863673b29e4322dd8336bb38696661bebc4.tar.gz
vdr-plugin-softhddevice-57af9863673b29e4322dd8336bb38696661bebc4.tar.bz2
Setup add preview of collapsed tree.
-rw-r--r--ChangeLog1
-rw-r--r--softhddevice.cpp16
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 24c828b..a70fded 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@ User johns
Date:
Release Version 0.5.1
+ Setup add preview of collapsed tree.
Fix bug: dvd plugin times out.
Makes OSD size configurable.
Support display with non-square pixels.
diff --git a/softhddevice.cpp b/softhddevice.cpp
index 926ee4f..39c923d 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -590,9 +590,15 @@ void cMenuSetupSoft::Create(void)
"Bob", "Weave/None", "Temporal", "TemporalSpatial", "Software Bob",
"Software Spatial",
};
+ static const char *const deinterlace_short[] = {
+ "B", "W", "T", "T+S", "S+B", "S+S",
+ };
static const char *const scaling[] = {
"Normal", "Fast", "HQ", "Anamorphic"
};
+ static const char *const scaling_short[] = {
+ "N", "F", "HQ", "A"
+ };
static const char *const audiodrift[] = {
"None", "PCM", "AC-3", "PCM + AC-3"
};
@@ -668,7 +674,14 @@ void cMenuSetupSoft::Create(void)
&BlackPicture, trVDR("no"), trVDR("yes")));
for (i = 0; i < RESOLUTIONS; ++i) {
- Add(CollapsedItem(resolution[i], ResolutionShown[i]));
+ cString msg;
+
+ // short hidden informations
+ msg =
+ cString::sprintf("%s,%s%s...", scaling_short[Scaling[i]],
+ deinterlace_short[Deinterlace[i]],
+ SkipChromaDeinterlace[i] ? ",skip" : "");
+ Add(CollapsedItem(resolution[i], ResolutionShown[i], msg));
if (ResolutionShown[i]) {
Add(new cMenuEditStraItem(tr("Scaling"), &Scaling[i], 4,
@@ -892,6 +905,7 @@ void cMenuSetupSoft::Store(void)
if (ConfigOsdWidth != OsdWidth || ConfigOsdHeight != OsdHeight) {
VideoSetOsdSize(ConfigOsdWidth = OsdWidth, ConfigOsdHeight =
OsdHeight);
+ // FIXME: shown osd size not updated
}
SetupStore("Osd.Width", ConfigOsdWidth);
SetupStore("Osd.Height", ConfigOsdHeight);