Skip to content

Commit

Permalink
Reuse frame allocations for VS input
Browse files Browse the repository at this point in the history
  • Loading branch information
redzic committed Aug 31, 2022
1 parent 2bbb4d7 commit fd49c01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions av1an-core/src/scene_detect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::thread;

use ansi_term::Style;
use anyhow::bail;
use av_scenechange::decode::Decoder2;
use av_scenechange::decode::Decoder;
use av_scenechange::ffmpeg::FfmpegDecoder;
use av_scenechange::vapoursynth::VapoursynthDecoder;
use av_scenechange::{detect_scene_changes, DetectionOptions, SceneDetectionSpeed};
Expand Down Expand Up @@ -110,7 +110,7 @@ pub fn av_scenechange_detect(

/// Detect scene changes using rav1e scene detector.
#[allow(clippy::option_if_let_else)]
pub fn scene_detect<F, D: Decoder2<F>>(
pub fn scene_detect<F, D: Decoder<F>>(
decoder: &mut D,
// TODO use these fields
_encoder: Encoder,
Expand Down

0 comments on commit fd49c01

Please sign in to comment.