From e29638ebf959cdb0d955d1b48de307241ee4f80d Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 2 Nov 2016 02:59:01 -0700 Subject: [PATCH] win-capture: Log plugin-side when capture successful/lost --- plugins/win-capture/game-capture.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/win-capture/game-capture.c b/plugins/win-capture/game-capture.c index ee337cb74..2e1a8020a 100644 --- a/plugins/win-capture/game-capture.c +++ b/plugins/win-capture/game-capture.c @@ -308,6 +308,9 @@ static void stop_capture(struct game_capture *gc) gc->texture = NULL; } + if (gc->active) + info("capture stopped"); + gc->copy_texture = NULL; gc->wait_for_target_startup = false; gc->active = false; @@ -1556,10 +1559,14 @@ static bool start_capture(struct game_capture *gc) if (!init_shmem_capture(gc)) { return false; } + + info("memory capture successful"); } else { if (!init_shtex_capture(gc)) { return false; } + + info("shared texture capture successful"); } return true;