Skip to content

Commit

Permalink
Rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonVonDelta committed May 11, 2023
1 parent b2a02f0 commit d00af88
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 147 deletions.
129 changes: 0 additions & 129 deletions .github/workflows/docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/image-source/obs-slideshow.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,6 @@ struct obs_source_info slideshow_info = {
.media_next = ss_next_slide,
.media_previous = ss_previous_slide,
.media_get_state = ss_get_state,
.video_get_color_space = ss_video_get_color_space,
.media_get_title = ss_get_title,
.video_get_color_space = ss_video_get_color_space,
};
2 changes: 0 additions & 2 deletions plugins/win-capture/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ target_sources(
compat-helpers.c
compat-helpers.h
compat-format-ver.h
custom_patch.c
custom_patch.h
../../libobs/util/windows/obfuscate.c
../../libobs/util/windows/obfuscate.h
${CMAKE_BINARY_DIR}/config/compat-config.h)
Expand Down
22 changes: 7 additions & 15 deletions plugins/win-capture/window-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <util/windows/window-helpers.h>
#include "dc-capture.h"
#include "compat-helpers.h"
#include "custom_patch.h"
#include "../../libobs/util/platform.h"
#include "../../libobs-winrt/winrt-capture.h"

Expand Down Expand Up @@ -553,22 +552,15 @@ static void wc_tick(void *data, float seconds)

wc->check_window_timer = 0.0f;

if (wc->title && strstr(wc->title, "Projector Window")) {
// Special case
wc->window = getZoomProjector();
} else {
wc->window = (wc->method == METHOD_WGC)
wc->window =
(wc->method == METHOD_WGC)
? ms_find_window_top_level(INCLUDE_MINIMIZED,
wc->priority,
wc->class,
wc->title,
wc->executable)
wc->priority,
wc->class, wc->title,
wc->executable)
: ms_find_window(INCLUDE_MINIMIZED,
wc->priority, wc->class,
wc->title, wc->executable);
}


wc->priority, wc->class,
wc->title, wc->executable);
if (!wc->window) {
if (wc->capture.valid)
dc_capture_free(&wc->capture);
Expand Down

0 comments on commit d00af88

Please sign in to comment.