cec: couple of cleanups. don't refresh the vendorid when not needed. refresh the...
[deb_libcec.git] / src / lib / LibCEC.cpp
index 3ed7ace2b6946491be9ad45ae9dfbe2f6dfcca17..ebaae2db4584f4f04693adced24a9fc3fdf2f8ee 100644 (file)
@@ -284,14 +284,14 @@ uint8_t CLibCEC::MuteAudio(bool bWait /* = true */)
 bool CLibCEC::SendKeypress(cec_logical_address iDestination, cec_user_control_code key, bool bWait /* = false */)
 {
   if (m_cec)
-    return m_cec->SendKeypress(iDestination, key);
+    return m_cec->TransmitKeypress(iDestination, key);
   return false;
 }
 
 bool CLibCEC::SendKeyRelease(cec_logical_address iDestination, bool bWait /* = false */)
 {
   if (m_cec)
-    return m_cec->SendKeyRelease(iDestination);
+    return m_cec->TransmitKeyRelease(iDestination);
   return false;
 }