mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-01 15:25:35 +00:00
Remove 30 and 60 fps options
This commit is contained in:
parent
faf19943fd
commit
8960cc458f
@ -72,19 +72,10 @@ Change the horizontal resolution to I<WIDTH>
|
||||
|
||||
Change the vertical resolution to I<HEIGHT>
|
||||
|
||||
=item B<-30fps>
|
||||
|
||||
Use 30 fps for streaming.
|
||||
This is the default configuration for 1080p and higher.
|
||||
|
||||
=item B<-60fps>
|
||||
|
||||
Use 60 fps for streaming.
|
||||
This is the default configuration for 720p.
|
||||
|
||||
=item B<-fps> [I<FPS>]
|
||||
|
||||
Change the number of frame per second to I<FPS>.
|
||||
Defaults to 60fps for 720p and 30fps for 1080p and higher.
|
||||
Only 30 and 60 fps are currently supported by Gamestream.
|
||||
|
||||
=item B<-bitrate> [I<BITRATE>]
|
||||
|
@ -45,8 +45,6 @@ static struct option long_options[] = {
|
||||
{"4k", no_argument, NULL, '0'},
|
||||
{"width", required_argument, NULL, 'c'},
|
||||
{"height", required_argument, NULL, 'd'},
|
||||
{"30fps", no_argument, NULL, 'e'},
|
||||
{"60fps", no_argument, NULL, 'f'},
|
||||
{"bitrate", required_argument, NULL, 'g'},
|
||||
{"packetsize", required_argument, NULL, 'h'},
|
||||
{"app", required_argument, NULL, 'i'},
|
||||
@ -136,12 +134,6 @@ static void parse_argument(int c, char* value, PCONFIGURATION config) {
|
||||
case 'd':
|
||||
config->stream.height = atoi(value);
|
||||
break;
|
||||
case 'e':
|
||||
config->stream.fps = 30;
|
||||
break;
|
||||
case 'f':
|
||||
config->stream.fps = 60;
|
||||
break;
|
||||
case 'g':
|
||||
config->stream.bitrate = atoi(value);
|
||||
break;
|
||||
|
@ -146,8 +146,6 @@ static void help() {
|
||||
printf("\t-4k\t\t\t\tUse 3840x2160 resolution\n");
|
||||
printf("\t-width <width>\t\tHorizontal resolution (default 1280)\n");
|
||||
printf("\t-height <height>\tVertical resolution (default 720)\n");
|
||||
printf("\t-30fps\t\t\tUse 30fps\n");
|
||||
printf("\t-60fps\t\t\tUse 60fps\n");
|
||||
printf("\t-bitrate <bitrate>\tSpecify the bitrate in Kbps\n");
|
||||
printf("\t-packetsize <size>\tSpecify the maximum packetsize in bytes\n");
|
||||
printf("\t-hevc\t\t\tUse the high efficiency video coding (HEVC)\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user