fix CEC TV ON after deepstandby

Origin commit data
------------------
Branch: master
Commit: 19b27c9a7e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-05-25 (Fri, 25 May 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2018-05-25 17:05:09 +02:00
committed by max_10
parent 2ad3047c82
commit 6b681a5c71

View File

@@ -1125,7 +1125,7 @@ bool cVideo::SetCECMode(VIDEO_HDMI_CEC_MODE _deviceType)
physicalAddress[0] = 0x10; physicalAddress[0] = 0x10;
physicalAddress[1] = 0x00; physicalAddress[1] = 0x00;
logicalAddress = 1; logicalAddress = 1;
if (_deviceType == VIDEO_HDMI_CEC_MODE_OFF) if (_deviceType == VIDEO_HDMI_CEC_MODE_OFF)
{ {
if (hdmiFd >= 0) { if (hdmiFd >= 0) {
@@ -1209,11 +1209,15 @@ bool cVideo::SetCECMode(VIDEO_HDMI_CEC_MODE _deviceType)
if (ioctl(hdmiFd, CEC_S_MODE, &monitor) < 0) if (ioctl(hdmiFd, CEC_S_MODE, &monitor) < 0)
lt_info("%s: CEC monitor failed (%m)\n", __func__); lt_info("%s: CEC monitor failed (%m)\n", __func__);
GetCECAddressInfo();
if(autoview_cec_activ)
SetCECState(false);
return true;
} }
return false;
GetCECAddressInfo();
return true;
} }
void cVideo::GetCECAddressInfo() void cVideo::GetCECAddressInfo()