transmit an active source message after <set stream path> to a device that's handled...
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 466e977249159f740cbe32a53765dc1716929476..2998a622021786c7e3e9ba162870f1b92aa45373 100644 (file)
@@ -1087,6 +1087,10 @@ void CCECBusDevice::SetStreamPath(uint16_t iNewAddress, uint16_t iOldAddress /*
   {
     // if a device is found with the new physical address, mark it as active, which will automatically mark all other devices as inactive
     device->MarkAsActiveSource();
+
+    // respond with an active source message if this device is handled by libCEC
+    if (device->IsHandledByLibCEC())
+      device->TransmitActiveSource(true);
   }
   else
   {