Address issues

merge-requests/60/head
Chloe Marcec 2021-04-16 13:52:32 +07:00
parent bf1c1788ca
commit edb1d5d242
1 changed files with 2 additions and 3 deletions

@ -494,9 +494,8 @@ void GPU::PushCommandBuffer(Tegra::ChCommandHeaderList& entries) {
void GPU::ClearCommandBuffer() {
// This condition fires when a video stream ends, clear all intermediary data
if (cdma_pusher) {
cdma_pusher.reset();
}
cdma_pusher.reset();
LOG_INFO(Service_NVDRV, "NVDEC video stream ended");
}
void GPU::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {