libgeneric-pc/video_lib.h: fix compile; dummy for cec volume switch audiosystem/tv

Origin commit data
------------------
Branch: master
Commit: 21adcd961a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-02-02 (Tue, 02 Feb 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2021-02-02 20:07:54 +01:00
committed by vanhofen
parent 59e0e3373b
commit c7b11a5c1e

View File

@@ -116,6 +116,12 @@ typedef enum {
VIDEO_HDMI_CEC_MODE_RECORDER VIDEO_HDMI_CEC_MODE_RECORDER
} VIDEO_HDMI_CEC_MODE; } VIDEO_HDMI_CEC_MODE;
typedef enum {
VIDEO_HDMI_CEC_VOL_OFF = 0,
VIDEO_HDMI_CEC_VOL_AUDIOSYSTEM = 1,
VIDEO_HDMI_CEC_VOL_TV = 2
} VIDEO_HDMI_CEC_VOL;
typedef enum typedef enum
{ {
VIDEO_CONTROL_BRIGHTNESS = 0, VIDEO_CONTROL_BRIGHTNESS = 0,
@@ -193,6 +199,8 @@ class cVideo : public OpenThreads::Thread
bool SetCECMode(VIDEO_HDMI_CEC_MODE) { return true; }; bool SetCECMode(VIDEO_HDMI_CEC_MODE) { return true; };
void SetCECAutoView(bool) { return; }; void SetCECAutoView(bool) { return; };
void SetCECAutoStandby(bool) { return; }; void SetCECAutoStandby(bool) { return; };
int GetAudioDestination() { return 0; };
void SetAudioDestination(int audio_dest) { };
void StopPicture(); void StopPicture();
void Standby(unsigned int bOn); void Standby(unsigned int bOn);
void Pig(int x, int y, int w, int h, int osd_w = 1064, int osd_h = 600, int startx = 0, int starty = 0, int endx = 1279, int endy = 719); void Pig(int x, int y, int w, int h, int osd_w = 1064, int osd_h = 600, int startx = 0, int starty = 0, int endx = 1279, int endy = 719);