Skip to content

Commit

Permalink
Merge branch 'game-capture-get-hooked-after-unhooked-fix' of https://…
Browse files Browse the repository at this point in the history
…github.com/EZ64cool/obs-studio into game-capture-get-hooked-after-unhooked-fix
  • Loading branch information
EZ64cool committed Feb 15, 2025
2 parents e6693ad + 4f9511d commit 1390258
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/win-capture/game-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ static void stop_capture(struct game_capture *gc)
if (gc->capturing) {
gc->capturing = false;
signal_handler_t *sh = obs_source_get_signal_handler(gc->source);

calldata_t data = {0};
calldata_set_ptr(&data, "source", gc->source);
signal_handler_signal(sh, "unhooked", &data);
Expand Down

0 comments on commit 1390258

Please sign in to comment.