Skip to content

Commit 2be2d02

Browse files
committed
Revert "[rust] Temporal command to see ffmpeg help"
This reverts commit 0c0899e.
1 parent 0c0899e commit 2be2d02

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

rust/src/ffmpeg.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const FFMPEG_RECORD_FRAME_RATE: &str = "30";
4545
const FFMPEG_RECORD_DESKTOP_WINDOWS_COMMAND: &str = "{} -f gdigrab -i desktop -r {} -q:v 1 -y {}";
4646
const FFMPEG_RECORD_DESKTOP_LINUX_COMMAND: &str = "{} -f x11grab -i {} -r {} -vcodec huffyuv -y {}";
4747
const FFMPEG_RECORD_DESKTOP_MACOS_COMMAND: &str = "{} -f avfoundation -i {} -r {} -y {}";
48-
const FFMPEG_HELP_COMMAND: &str = "{} -h";
4948
const FFMPEG_RECORDING_EXTENSION: &str = "avi";
5049
const FFMPEG_RECORDING_FOLDER: &str = "recordings";
5150

@@ -210,7 +209,6 @@ pub fn record_desktop_with_ffmpeg(
210209
"Recording desktop with {} to {}",
211210
FFMPEG_NAME, &recording_name
212211
));
213-
/*
214212
let command = if WINDOWS.is(os) {
215213
Command::new_single(format_three_args(
216214
get_recording_command(os),
@@ -228,11 +226,6 @@ pub fn record_desktop_with_ffmpeg(
228226
&recording_name,
229227
))
230228
};
231-
*/
232-
let command = Command::new_single(format_one_arg(
233-
FFMPEG_HELP_COMMAND,
234-
&path_to_string(&ffmpeg_path),
235-
));
236229
run_shell_command_with_log(log, os, command).unwrap();
237230
Ok(())
238231
}

0 commit comments

Comments
 (0)