Address issues

This commit is contained in:
Chloe Marcec 2021-04-16 13:52:32 +10:00
parent bf1c1788ca
commit edb1d5d242

View file

@ -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) {