Release 2.2.0
[deb_libcec.git] / src / lib / platform / posix / os-edid.cpp
index 4347688ca5ac43fafabd53d8c614ebb6cebeefa7..51dc92fd76ffda551b12fb7bfe4324855c51978e 100644 (file)
 
 #include "env.h"
 #include "lib/platform/util/edid.h"
+#include "lib/platform/X11/randr-edid.h"
 
 using namespace PLATFORM;
 
 uint16_t CEDIDParser::GetPhysicalAddress(void)
 {
+#if HAVE_RANDR
+  return CRandrEdidParser().GetPhysicalAddress();    
+#else
   // TODO
   return 0;
+#endif
 }