Rename --codec to --video-codec

This prepares the introduction of --audio-codec.
This commit is contained in:
Romain Vimont
2023-02-20 21:19:36 +01:00
parent fef75277bc
commit 3513fc7809
13 changed files with 56 additions and 42 deletions

View File

@@ -13,7 +13,7 @@ const struct scrcpy_options scrcpy_options_default = {
.v4l2_device = NULL,
#endif
.log_level = SC_LOG_LEVEL_INFO,
.codec = SC_CODEC_H264,
.video_codec = SC_CODEC_H264,
.record_format = SC_RECORD_FORMAT_AUTO,
.keyboard_input_mode = SC_KEYBOARD_INPUT_MODE_INJECT,
.mouse_input_mode = SC_MOUSE_INPUT_MODE_INJECT,