Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
EZ64cool committed Feb 15, 2025
1 parent 64cb68a commit e6693ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/win-capture/game-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ static void stop_capture(struct game_capture *gc)

// if it was previously capturing, send an unhooked signal
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);
Expand All @@ -370,7 +371,6 @@ static void stop_capture(struct game_capture *gc)
gc->copy_texture = NULL;
gc->wait_for_target_startup = false;
gc->active = false;
gc->capturing = false;

if (gc->retrying)
gc->retrying--;
Expand Down

0 comments on commit e6693ad

Please sign in to comment.