From 600d5e54c86d494933fac1fe4a9b2826b8008280 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 9 Nov 2012 16:39:34 +0100 Subject: [PATCH] fixed - only change the type of the client to 'playback device' instead of 'recorder' for panasonic if the TV is a panasonic. issue #84 --- src/lib/implementations/VLCommandHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/implementations/VLCommandHandler.cpp b/src/lib/implementations/VLCommandHandler.cpp index b7cdb7a..f57925b 100644 --- a/src/lib/implementations/VLCommandHandler.cpp +++ b/src/lib/implementations/VLCommandHandler.cpp @@ -79,10 +79,10 @@ bool CVLCommandHandler::InitHandler(void) primary->SetVendorId(CEC_VENDOR_PANASONIC); primary->ReplaceHandler(false); } - } - if (primary->GetType() == CEC_DEVICE_TYPE_RECORDING_DEVICE) - return m_processor->GetPrimaryClient()->ChangeDeviceType(CEC_DEVICE_TYPE_RECORDING_DEVICE, CEC_DEVICE_TYPE_PLAYBACK_DEVICE); + if (primary->GetType() == CEC_DEVICE_TYPE_RECORDING_DEVICE) + return m_processor->GetPrimaryClient()->ChangeDeviceType(CEC_DEVICE_TYPE_RECORDING_DEVICE, CEC_DEVICE_TYPE_PLAYBACK_DEVICE); + } } return CCECCommandHandler::InitHandler(); -- 2.34.1