aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-04-16 13:52:32 +1000
committerChloe Marcec <dmarcecguzman@gmail.com>2021-04-16 13:52:32 +1000
commite4b60c77d6092623a261e4829465f9e92d392982 (patch)
tree847ba9f74d7a2067a6356704d34738f258f25730 /src/video_core/gpu.cpp
parentd835e6b8e864180cb579827f40e7f7b8f248ab6f (diff)
Address issues
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 811e248a32..36c31fec29 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -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) {