mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-11 10:26:12 +00:00
Add: Amlogic hardware video decoder backend
This commit is contained in:
committed by
Iwan Timmer
parent
3943ba8cd8
commit
c1f5a2a30e
@@ -83,6 +83,11 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
// h265
|
||||
if (config->hevc) {
|
||||
config->stream.supportsHevc = 1;
|
||||
}
|
||||
|
||||
int ret = gs_start_app(server, &config->stream, appId, config->sops, config->localaudio);
|
||||
if (ret < 0) {
|
||||
if (ret == GS_NOT_SUPPORTED_4K)
|
||||
@@ -154,6 +159,10 @@ static void help() {
|
||||
printf("\t-audio <device>\t\tUse <device> 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user