X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=0a0270f23f43a6b8869a42cd2701e486ef5f2eae;hb=ed63a5152ee6f0283fd32d1e304df9e7c7dd03e5;hp=3501ce356f74562dc83d4340678aaa75f525e5fb;hpb=224ea8772f229d2d7dafcdbf64c4266c9b4de35e;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index 3501ce3..0a0270f 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -923,6 +923,7 @@ typedef struct libcec_configuration uint16_t iPhysicalAddress; /*!< the physical address of the CEC adapter */ cec_logical_address baseDevice; /*!< the logical address of the device to which the adapter is connected. only used when iPhysicalAddress = 0 */ uint8_t iHDMIPort; /*!< the HDMI port to which the adapter is connected. only used when iPhysicalAddress = 0 */ + cec_vendor_id tvVendor; /*!< the vendor ID of the TV. leave this untouched to autodetect */ cec_client_version clientVersion; /*!< the version of the client that is connecting */ // player specific settings @@ -941,9 +942,10 @@ typedef struct libcec_configuration { memset(strDeviceName, 0, 13); deviceTypes.clear(); - iPhysicalAddress = CEC_DEFAULT_PHYSICAL_ADDRESS; + iPhysicalAddress = 0; baseDevice = (cec_logical_address)CEC_DEFAULT_BASE_DEVICE; iHDMIPort = CEC_DEFAULT_HDMI_PORT; + tvVendor = CEC_VENDOR_UNKNOWN; clientVersion = CEC_CLIENT_VERSION_PRE_1_5; bGetSettingsFromROM = 0;