diff --git a/src/config.c b/src/config.c index 615889f..eecda4c 100644 --- a/src/config.c +++ b/src/config.c @@ -63,9 +63,7 @@ static struct option long_options[] = { {"surround", no_argument, NULL, 'u'}, {"fps", required_argument, NULL, 'v'}, {"forcehw", no_argument, NULL, 'w'}, -#ifdef HAVE_AML - {"hevc", no_argument, NULL, 'x'}, -#endif + {"forcehevc", no_argument, NULL, 'x'}, {0, 0, 0, 0}, }; @@ -203,11 +201,9 @@ static void parse_argument(int c, char* value, PCONFIGURATION config) { case 'w': config->forcehw = true; break; -#ifdef HAVE_AML case 'x': config->hevc = true; break; -#endif case 1: if (config->action == NULL) config->action = value; diff --git a/src/config.h b/src/config.h index 77872b1..8479b3c 100644 --- a/src/config.h +++ b/src/config.h @@ -43,9 +43,7 @@ typedef struct _CONFIGURATION { bool forcehw; struct input_config inputs[MAX_INPUTS]; int inputsCount; -#ifdef HAVE_AML bool hevc; -#endif } CONFIGURATION, *PCONFIGURATION; bool inputAdded; diff --git a/src/main.c b/src/main.c index 64c9421..3f12e49 100644 --- a/src/main.c +++ b/src/main.c @@ -142,6 +142,7 @@ static void help() { printf("\t-60fps\t\t\tUse 60fps [default]\n"); printf("\t-bitrate \tSpecify the bitrate in Kbps\n"); printf("\t-packetsize \tSpecify the maximum packetsize in bytes\n"); + printf("\t-hevc \t\tUse high efficiency video decoding (HEVC)\n"); printf("\t-remote\t\t\tEnable remote optimizations\n"); printf("\t-app \t\tName of app to stream\n"); printf("\t-nosops\t\t\tDon't allow GFE to modify game settings\n"); @@ -159,10 +160,6 @@ static void help() { printf("\t-audio \t\tUse as ALSA audio output device (default sysdefault)\n"); printf("\t-forcehw \t\tTry to use video hardware acceleration\n"); #endif - #ifdef HAVE_AML - printf("\n Amlogic Codec options\n\n"); - printf("\t-hevc \t\tUse high efficiency video decoding (HEVC)\n"); - #endif printf("\nUse Ctrl+Alt+Shift+Q to exit streaming session\n\n"); exit(0); }