cec: transmit 'menu state activated' after the stream path has been set to a device...
authorLars Op den Kamp <lars@opdenkamp.eu>
Sun, 29 Jan 2012 17:03:32 +0000 (18:03 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sun, 29 Jan 2012 17:03:49 +0000 (18:03 +0100)
src/lib/implementations/CECCommandHandler.cpp

index ebd2ec24a829e008dfa55a6aa2c1fc02d9f787f6..18f685844b20ab847fbab2fe2a0e5c9a2fada7f2 100644 (file)
@@ -508,6 +508,9 @@ bool CCECCommandHandler::HandleSetStreamPath(const cec_command &command)
     {
       device->SetActiveSource();
       device->TransmitActiveSource();
+
+      device->SetMenuState(CEC_MENU_STATE_ACTIVATED);
+      device->TransmitMenuState(command.initiator);
     }
   }
   return false;