cec: opcode 0x80 means the stream path changed, not the physical address
[deb_libcec.git] / src / lib / implementations / CECCommandHandler.cpp
index e30810c6671c7c564721c0906ed5db94630db0c1..33644d8709d3972bb0ed6082f04ede397428ac0e 100644 (file)
@@ -288,7 +288,7 @@ bool CCECCommandHandler::HandleRoutingChange(const cec_command &command)
 
     CCECBusDevice *device = GetDevice(command.initiator);
     if (device)
-      device->SetPhysicalAddress(iNewAddress, iOldAddress);
+      device->SetStreamPath(iNewAddress, iOldAddress);
   }
   return true;
 }