Skip to content

Commit

Permalink
cargo fix + cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
master-of-zen committed Dec 30, 2024
1 parent a58ab02 commit cbb6362
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 26 deletions.
3 changes: 1 addition & 2 deletions crates/av1an-core/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use std::{
borrow::Cow,
cmp,
cmp::Reverse,
collections::BTreeSet,
convert::TryInto,
ffi::OsString,
fs,
Expand All @@ -20,7 +19,7 @@ use std::{
};

use ansi_term::{Color, Style};
use anyhow::{bail, Context};
use anyhow::Context;
use av1_grain::TransferFunction;
use av1an_ffmpeg::{
compose_ffmpeg_pipe,
Expand Down
1 change: 0 additions & 1 deletion crates/av1an-core/src/scene_detect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::{
};

use ansi_term::Style;
use anyhow::bail;
use av_scenechange::{
decoder::Decoder,
detect_scene_changes,
Expand Down
23 changes: 0 additions & 23 deletions crates/av1an-core/src/scenes.rs
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
use std::{
collections::HashMap,
process::{exit, Command},
str::FromStr,
};

use anyhow::{anyhow, bail, Result};
use itertools::Itertools;
use nom::{
branch::alt,
bytes::complete::{tag, take_till, take_while},
character::complete::{char, digit1, space1},
combinator::{map, map_res, opt, recognize, rest},
multi::{many1, separated_list0},
sequence::{preceded, tuple},
};
use serde::{Deserialize, Serialize};

use crate::{
context::Av1anContext,
parse::valid_params,
settings::{invalid_params, suggest_fix},
Encoder,
};

#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct Scene {
pub start_frame: usize,
Expand Down
1 change: 1 addition & 0 deletions crates/av1an-input/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit cbb6362

Please sign in to comment.