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

Method new

permutation/src/permutation.rs:23–38  ·  view source on GitHub ↗
(video_file: String, encoder: String)

Source from the content-addressed store, hash-verified

21
22impl Permutation {
23 pub fn new(video_file: String, encoder: String) -> Self {
24 Self {
25 video_file,
26 encoder,
27 encoder_settings: String::from(""),
28 bitrate: 0,
29 metadata: MetaData::new(),
30 check_quality: false,
31 allow_duplicates: false,
32 detect_overload: false,
33 verbose: false,
34 decode_run: false,
35 is_decoding: false,
36 ten_bit: false,
37 }
38 }
39
40 pub fn get_metadata(&mut self) -> MetaData {
41 if self.metadata.is_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected