diff --git a/docs/README.pod b/docs/README.pod index d858601..a62c0d4 100644 --- a/docs/README.pod +++ b/docs/README.pod @@ -72,19 +72,10 @@ Change the horizontal resolution to I Change the vertical resolution to I -=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] Change the number of frame per second to I. +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] diff --git a/src/config.c b/src/config.c index 0a8bd91..3b2bb12 100644 --- a/src/config.c +++ b/src/config.c @@ -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; diff --git a/src/main.c b/src/main.c index a349ad5..275e7b7 100644 --- a/src/main.c +++ b/src/main.c @@ -146,8 +146,6 @@ static void help() { printf("\t-4k\t\t\t\tUse 3840x2160 resolution\n"); printf("\t-width \t\tHorizontal resolution (default 1280)\n"); printf("\t-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 \tSpecify the bitrate in Kbps\n"); printf("\t-packetsize \tSpecify the maximum packetsize in bytes\n"); printf("\t-hevc\t\t\tUse the high efficiency video coding (HEVC)\n");