summaryrefslogtreecommitdiff
path: root/vdrboblight.c
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2014-12-24 11:00:33 +0100
committerchriszero <zerov83@gmail.com>2014-12-24 11:00:33 +0100
commit80d2476f00dfe67f28aa2c10e143c2aefcba3c32 (patch)
tree30853f4b9013277bcc95d5b51ccf440f6e1fca7b /vdrboblight.c
parent06464fbaa856da447cb794d80e07f5abb96f4b1f (diff)
downloadvdr-plugin-boblight-80d2476f00dfe67f28aa2c10e143c2aefcba3c32.tar.gz
vdr-plugin-boblight-80d2476f00dfe67f28aa2c10e143c2aefcba3c32.tar.bz2
Added 3D Mode.
Softhddevice patch optional, for autodetection.
Diffstat (limited to 'vdrboblight.c')
-rw-r--r--vdrboblight.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/vdrboblight.c b/vdrboblight.c
index 24d18b3..7316606 100644
--- a/vdrboblight.c
+++ b/vdrboblight.c
@@ -198,6 +198,34 @@ cString cPluginBoblight::SVDRPCommand(const char* Command, const char* Option, i
ReplyCode = 550;
return "detach";
}
+ else if (Option && strcasecmp(Option, "3d-hsbs") == 0)
+ {
+ cfg.osd3DMode = cAmbiService::osdHSBS;
+
+ ReplyCode = 550;
+ return "3d-hsbs";
+ }
+ else if (Option && strcasecmp(Option, "3d-hou") == 0)
+ {
+ cfg.osd3DMode = cAmbiService::osdHOU;
+
+ ReplyCode = 550;
+ return "3d-hou";
+ }
+ else if (Option && strcasecmp(Option, "3d-off") == 0)
+ {
+ cfg.osd3DMode = cAmbiService::osdOff;
+
+ ReplyCode = 550;
+ return "3d-off";
+ }
+ else if (Option && strcasecmp(Option, "3d-auto") == 0)
+ {
+ cfg.osd3DMode = cAmbiService::osdAuto;
+
+ ReplyCode = 550;
+ return "3d-auto";
+ }
else if(!Option || !strlen(Option)) {
switch(cfg.viewMode) {
case cAmbiService::vmAtmo: