mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-01 23:35:47 +00:00
Change default value of 'unsupported' to true to match other clients
This commit is contained in:
parent
fc44f010f8
commit
83982d3981
@ -141,9 +141,9 @@ By default the gamecontrollerdb.txt provided by Moonlight Embedded is used.
|
|||||||
Select platform for audio and video output and input.
|
Select platform for audio and video output and input.
|
||||||
<PLATFORM> can be pi, imx, aml, x11, x11_vdpau, sdl or fake.
|
<PLATFORM> can be pi, imx, aml, x11, x11_vdpau, sdl or fake.
|
||||||
|
|
||||||
=item B<-unsupported>
|
=item B<-nounsupported>
|
||||||
|
|
||||||
Try streaming if GFE version or options are unsupported
|
Don't stream if resolution is not officially supported by the server
|
||||||
|
|
||||||
=item B<-quitappafter>
|
=item B<-quitappafter>
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ static struct option long_options[] = {
|
|||||||
{"surround", no_argument, NULL, 'u'},
|
{"surround", no_argument, NULL, 'u'},
|
||||||
{"fps", required_argument, NULL, 'v'},
|
{"fps", required_argument, NULL, 'v'},
|
||||||
{"codec", required_argument, NULL, 'x'},
|
{"codec", required_argument, NULL, 'x'},
|
||||||
{"unsupported", no_argument, NULL, 'y'},
|
{"nounsupported", no_argument, NULL, 'y'},
|
||||||
{"quitappafter", no_argument, NULL, '1'},
|
{"quitappafter", no_argument, NULL, '1'},
|
||||||
{"viewonly", no_argument, NULL, '2'},
|
{"viewonly", no_argument, NULL, '2'},
|
||||||
{"rotate", required_argument, NULL, '3'},
|
{"rotate", required_argument, NULL, '3'},
|
||||||
@ -213,7 +213,7 @@ static void parse_argument(int c, char* value, PCONFIGURATION config) {
|
|||||||
config->codec = CODEC_HEVC;
|
config->codec = CODEC_HEVC;
|
||||||
break;
|
break;
|
||||||
case 'y':
|
case 'y':
|
||||||
config->unsupported = true;
|
config->unsupported = false;
|
||||||
break;
|
break;
|
||||||
case '1':
|
case '1':
|
||||||
config->quitappafter = true;
|
config->quitappafter = true;
|
||||||
@ -330,7 +330,7 @@ void config_parse(int argc, char* argv[], PCONFIGURATION config) {
|
|||||||
config->sops = true;
|
config->sops = true;
|
||||||
config->localaudio = false;
|
config->localaudio = false;
|
||||||
config->fullscreen = true;
|
config->fullscreen = true;
|
||||||
config->unsupported = false;
|
config->unsupported = true;
|
||||||
config->quitappafter = false;
|
config->quitappafter = false;
|
||||||
config->viewonly = false;
|
config->viewonly = false;
|
||||||
config->rotate = 0;
|
config->rotate = 0;
|
||||||
|
@ -104,9 +104,9 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
|||||||
if (ret == GS_NOT_SUPPORTED_4K)
|
if (ret == GS_NOT_SUPPORTED_4K)
|
||||||
fprintf(stderr, "Server doesn't support 4K\n");
|
fprintf(stderr, "Server doesn't support 4K\n");
|
||||||
else if (ret == GS_NOT_SUPPORTED_MODE)
|
else if (ret == GS_NOT_SUPPORTED_MODE)
|
||||||
fprintf(stderr, "Server doesn't support %dx%d (%d fps) or try --unsupported option\n", config->stream.width, config->stream.height, config->stream.fps);
|
fprintf(stderr, "Server doesn't support %dx%d (%d fps) or remove --nounsupported option\n", config->stream.width, config->stream.height, config->stream.fps);
|
||||||
else if (ret == GS_NOT_SUPPORTED_SOPS_RESOLUTION)
|
else if (ret == GS_NOT_SUPPORTED_SOPS_RESOLUTION)
|
||||||
fprintf(stderr, "SOPS isn't supported for the resolution %dx%d, use supported resolution or add --nosops option\n", config->stream.width, config->stream.height);
|
fprintf(stderr, "Optimal Playable Settings isn't supported for the resolution %dx%d, use supported resolution or add --nosops option\n", config->stream.width, config->stream.height);
|
||||||
else if (ret == GS_ERROR)
|
else if (ret == GS_ERROR)
|
||||||
fprintf(stderr, "Gamestream error: %s\n", gs_error);
|
fprintf(stderr, "Gamestream error: %s\n", gs_error);
|
||||||
else
|
else
|
||||||
@ -206,7 +206,7 @@ static void help() {
|
|||||||
printf("\t-keydir <directory>\tLoad encryption keys from directory\n");
|
printf("\t-keydir <directory>\tLoad encryption keys from directory\n");
|
||||||
printf("\t-mapping <file>\t\tUse <file> as gamepad mappings configuration file\n");
|
printf("\t-mapping <file>\t\tUse <file> as gamepad mappings configuration file\n");
|
||||||
printf("\t-platform <system>\tSpecify system used for audio, video and input: pi/imx/aml/rk/x11/x11_vdpau/sdl/fake (default auto)\n");
|
printf("\t-platform <system>\tSpecify system used for audio, video and input: pi/imx/aml/rk/x11/x11_vdpau/sdl/fake (default auto)\n");
|
||||||
printf("\t-unsupported\t\tTry streaming if GFE version or options are unsupported\n");
|
printf("\t-nounsupported\t\tDon't stream if resolution is not officially supported by the server\n");
|
||||||
printf("\t-quitappafter\t\tSend quit app request to remote after quitting session\n");
|
printf("\t-quitappafter\t\tSend quit app request to remote after quitting session\n");
|
||||||
printf("\t-viewonly\t\tDisable all input processing (view-only mode)\n");
|
printf("\t-viewonly\t\tDisable all input processing (view-only mode)\n");
|
||||||
#if defined(HAVE_SDL) || defined(HAVE_X11)
|
#if defined(HAVE_SDL) || defined(HAVE_X11)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user