Queue decoded frames, cleanup decoders

This commit is contained in:
ameerj
2020-11-25 17:10:44 -05:00
parent b834c21894
commit eab041866b
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();
}