mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-10-04 23:28:45 +00:00
Rename --bit-rate to --video-bit-rate
This prepares the introduction of --audio-bit-rate.
This commit is contained in:
parent
3513fc7809
commit
0c2e2b998d
14 changed files with 29 additions and 29 deletions
|
@ -46,7 +46,7 @@ static void test_options(void) {
|
|||
char *argv[] = {
|
||||
"scrcpy",
|
||||
"--always-on-top",
|
||||
"--bit-rate", "5M",
|
||||
"--video-bit-rate", "5M",
|
||||
"--crop", "100:200:300:400",
|
||||
"--fullscreen",
|
||||
"--max-fps", "30",
|
||||
|
@ -75,7 +75,7 @@ static void test_options(void) {
|
|||
|
||||
const struct scrcpy_options *opts = &args.opts;
|
||||
assert(opts->always_on_top);
|
||||
assert(opts->bit_rate == 5000000);
|
||||
assert(opts->video_bit_rate == 5000000);
|
||||
assert(!strcmp(opts->crop, "100:200:300:400"));
|
||||
assert(opts->fullscreen);
|
||||
assert(opts->max_fps == 30);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue