mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
remove kodiVideoChecker (#475)
This commit is contained in:
@@ -11,7 +11,6 @@ enum Components
|
||||
COMP_INVALID,
|
||||
COMP_SMOOTHING,
|
||||
COMP_BLACKBORDER,
|
||||
COMP_KODICHECKER,
|
||||
COMP_FORWARDER,
|
||||
COMP_UDPLISTENER,
|
||||
COMP_BOBLIGHTSERVER,
|
||||
@@ -29,7 +28,6 @@ inline const char* componentToString(Components c)
|
||||
{
|
||||
case COMP_SMOOTHING: return "Smoothing";
|
||||
case COMP_BLACKBORDER: return "Blackborder detector";
|
||||
case COMP_KODICHECKER: return "KodiVideoChecker";
|
||||
case COMP_FORWARDER: return "Json/Proto forwarder";
|
||||
case COMP_UDPLISTENER: return "UDP listener";
|
||||
case COMP_BOBLIGHTSERVER:return "Boblight server";
|
||||
@@ -49,7 +47,6 @@ inline const char* componentToIdString(Components c)
|
||||
{
|
||||
case COMP_SMOOTHING: return "SMOOTHING";
|
||||
case COMP_BLACKBORDER: return "BLACKBORDER";
|
||||
case COMP_KODICHECKER: return "KODICHECKER";
|
||||
case COMP_FORWARDER: return "FORWARDER";
|
||||
case COMP_UDPLISTENER: return "UDPLISTENER";
|
||||
case COMP_BOBLIGHTSERVER:return "BOBLIGHTSERVER";
|
||||
@@ -68,7 +65,6 @@ inline Components stringToComponent(QString component)
|
||||
component = component.toUpper();
|
||||
if (component == "SMOOTHING") return COMP_SMOOTHING;
|
||||
if (component == "BLACKBORDER") return COMP_BLACKBORDER;
|
||||
if (component == "KODICHECKER") return COMP_KODICHECKER;
|
||||
if (component == "FORWARDER") return COMP_FORWARDER;
|
||||
if (component == "UDPLISTENER") return COMP_UDPLISTENER;
|
||||
if (component == "BOBLIGHTSERVER")return COMP_BOBLIGHTSERVER;
|
||||
|
@@ -1,35 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
/**
|
||||
* Enumeration of the possible modes in which frame-grabbing is performed.
|
||||
*/
|
||||
enum GrabbingMode
|
||||
{
|
||||
/** Frame grabbing is switched off */
|
||||
GRABBINGMODE_OFF,
|
||||
/** Frame grabbing during video */
|
||||
GRABBINGMODE_VIDEO,
|
||||
GRABBINGMODE_PAUSE,
|
||||
GRABBINGMODE_PHOTO,
|
||||
GRABBINGMODE_AUDIO,
|
||||
GRABBINGMODE_MENU,
|
||||
GRABBINGMODE_SCREENSAVER,
|
||||
GRABBINGMODE_INVALID
|
||||
};
|
||||
|
||||
inline QString grabbingMode2String(GrabbingMode mode)
|
||||
{
|
||||
switch(mode)
|
||||
{
|
||||
case GRABBINGMODE_OFF: return "OFF";
|
||||
case GRABBINGMODE_VIDEO: return "VIDEO";
|
||||
case GRABBINGMODE_PAUSE: return "PAUSE";
|
||||
case GRABBINGMODE_PHOTO: return "PHOTO";
|
||||
case GRABBINGMODE_AUDIO: return "AUDIO";
|
||||
case GRABBINGMODE_MENU: return "MENU";
|
||||
case GRABBINGMODE_SCREENSAVER: return "SCREENSAVER";
|
||||
default: return "INVALID";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user