MCPcopy Create free account
hub / github.com/Proryanator/encoder-benchmark / default

Method default

ffmpeg/src/args.rs:27–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26impl Default for FfmpegArgs {
27 fn default() -> Self {
28 FfmpegArgs {
29 fps_limit: 0,
30 report: false,
31 send_progress: true,
32 first_input: String::new(),
33 second_input: String::new(),
34 bitrate: u32::default(),
35 encoder: String::new(),
36 encoder_args: String::new(),
37 output_args: NO_OUTPUT.to_string(),
38 is_vmaf: false,
39 // the lower the value, the more often the progress bar will update
40 // but your fps calculations might be a little over-inflated
41 stats_period: 0.5,
42 decode: false,
43 ten_bit: false,
44 }
45 }
46}
47
48impl FfmpegArgs {

Callers

nothing calls this directly

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected