From 80d2476f00dfe67f28aa2c10e143c2aefcba3c32 Mon Sep 17 00:00:00 2001 From: chriszero Date: Wed, 24 Dec 2014 11:00:33 +0100 Subject: Added 3D Mode. Softhddevice patch optional, for autodetection. --- vdrboblight.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'vdrboblight.c') 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: -- cgit v1.2.3