cec: inactive source should be directly addressed at the TV
[deb_libcec.git] / include / cectypes.h
index bc661a8d2d7e1840462af64357337a02cb4de8ec..ede11f4e2f47813f25a0e6cfefdef964f08692eb 100644 (file)
@@ -57,6 +57,7 @@ namespace CEC {
 
 //default physical address 1.0.0.0, HDMI port 1
 #define CEC_DEFAULT_PHYSICAL_ADDRESS 0x1000
+#define CEC_DEFAULT_HDMI_PORT        1
 #define MSGSTART                     0xFF
 #define MSGEND                       0xFE
 #define MSGESC                       0xFD
@@ -606,6 +607,12 @@ typedef struct cec_menu_language
   cec_logical_address device;
 } cec_menu_language;
 
+typedef struct cec_osd_name
+{
+  char                name[14];
+  cec_logical_address device;
+} cec_osd_name;
+
 typedef struct cec_log_message
 {
   char          message[1024];