Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add film grain support in VA-API #61

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
5 changes: 3 additions & 2 deletions src/backend/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use std::cell::RefCell;
use std::rc::Rc;

use crate::decoder::stateless::PoolLayer;
use crate::decoder::stateless::StatelessCodec;
use crate::decoder::stateless::StatelessDecoderBackend;
use crate::decoder::stateless::StatelessDecoderBackendPicture;
Expand Down Expand Up @@ -141,7 +142,7 @@ impl<Codec: StatelessCodec> StatelessDecoderBackend<Codec> for Backend {
Some(&self.stream_info)
}

fn frame_pool(&mut self) -> &mut dyn FramePool<()> {
self
fn frame_pool(&mut self, _: PoolLayer) -> Vec<&mut dyn FramePool<()>> {
vec![self]
}
}
Loading