mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
boxname for cec
Origin commit data
------------------
Branch: master
Commit: 7e8afedc40
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -40,6 +40,8 @@
|
|||||||
#include "hdmi_cec_types.h"
|
#include "hdmi_cec_types.h"
|
||||||
#include "hal_debug.h"
|
#include "hal_debug.h"
|
||||||
|
|
||||||
|
#include <hardware_caps.h>
|
||||||
|
|
||||||
#define RED "\x1B[31m"
|
#define RED "\x1B[31m"
|
||||||
#define GREEN "\x1B[32m"
|
#define GREEN "\x1B[32m"
|
||||||
#define NORMAL "\x1B[0m"
|
#define NORMAL "\x1B[0m"
|
||||||
@@ -168,7 +170,8 @@ bool hdmi_cec::SetCECMode(VIDEO_HDMI_CEC_MODE _deviceType)
|
|||||||
* takes some time)
|
* takes some time)
|
||||||
*/
|
*/
|
||||||
laddrs.cec_version = CEC_OP_CEC_VERSION_2_0;
|
laddrs.cec_version = CEC_OP_CEC_VERSION_2_0;
|
||||||
strcpy(laddrs.osd_name, "neutrino");
|
hw_caps_t *caps = get_hwcaps();
|
||||||
|
strcpy(laddrs.osd_name, caps->boxname);
|
||||||
laddrs.vendor_id = CEC_VENDOR_ID_NONE;
|
laddrs.vendor_id = CEC_VENDOR_ID_NONE;
|
||||||
|
|
||||||
switch (deviceType)
|
switch (deviceType)
|
||||||
|
Reference in New Issue
Block a user