diff -r 1a73e8f1b64d -r 6bb05bdcbe09 accessoryservices/pluggeddisplay/pluggeddisplayengine/src/tvoutconfigforhdmi.cpp --- a/accessoryservices/pluggeddisplay/pluggeddisplayengine/src/tvoutconfigforhdmi.cpp Fri Mar 12 15:50:01 2010 +0200 +++ b/accessoryservices/pluggeddisplay/pluggeddisplayengine/src/tvoutconfigforhdmi.cpp Mon Mar 15 12:45:37 2010 +0200 @@ -34,6 +34,11 @@ // CONSTANTS // MACROS +#define SEND_VIA_PDENGINE(event) \ + ((CHDMICableStatusFSM*)&iFSM)->GetPDEngine()->Input( \ + EPDEFSMIdHDMICableStatus, \ + EPDEIfTVOutConfig, \ + event ) // LOCAL CONSTANTS AND MACROS @@ -435,9 +440,8 @@ } else if ( iTvConfig->HdmiCableConnected() ) { - iFSM.Input( - EPDEIfTVOutConfig, - EIfTVOutConfigEventCableConnected ); + // Send connected event to FSM via PDEngine where the multiple connection(analog and hdmi) logic is handled. + SEND_VIA_PDENGINE(EIfTVOutConfigEventCableConnected); } else {