Add --record-orientation
Add an option to store the orientation to apply in a recorded file. Only rotations are supported (not flip), and most players correctly handle it only for MP4 files (not MKV files).
This commit is contained in:
@@ -507,7 +507,8 @@ scrcpy(struct scrcpy_options *options) {
|
||||
};
|
||||
if (!sc_recorder_init(&s->recorder, options->record_filename,
|
||||
options->record_format, options->video,
|
||||
options->audio, &recorder_cbs, NULL)) {
|
||||
options->audio, options->record_orientation,
|
||||
&recorder_cbs, NULL)) {
|
||||
goto end;
|
||||
}
|
||||
recorder_initialized = true;
|
||||
|
||||
Reference in New Issue
Block a user