Queue decoded frames, cleanup decoders

This commit is contained in:
ameerj 2020-11-25 17:10:44 -05:00
parent a5029e54b0
commit 5beb990349
10 changed files with 225 additions and 336 deletions

View file

@ -29,11 +29,7 @@ void Nvdec::ProcessMethod(Method method, const std::vector<u32>& arguments) {
}
}
AVFrame* Nvdec::GetFrame() {
return codec->GetCurrentFrame();
}
const AVFrame* Nvdec::GetFrame() const {
AVFramePtr Nvdec::GetFrame() {
return codec->GetCurrentFrame();
}