mirror of
https://github.com/occ-ai/obs-localvocal
synced 2024-11-07 10:50:26 +00:00
dont fail on patch
This commit is contained in:
parent
357b429b80
commit
e330d4e211
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,6 +16,7 @@
|
||||
!LICENSE
|
||||
!README.md
|
||||
!/vendor
|
||||
!patch_libobs.diff
|
||||
|
||||
# Exclude lock files
|
||||
*.lock.json
|
||||
|
@ -76,9 +76,8 @@ function(_setup_obs_studio)
|
||||
message(STATUS "Patch libobs")
|
||||
execute_process(
|
||||
COMMAND patch --forward "libobs/CMakeLists.txt" "${CMAKE_CURRENT_SOURCE_DIR}/patch_libobs.diff"
|
||||
RESULT_VARIABLE _process_result COMMAND_ERROR_IS_FATAL ANY
|
||||
WORKING_DIRECTORY "${dependencies_dir}/${_obs_destination}"
|
||||
)
|
||||
RESULT_VARIABLE _process_result
|
||||
WORKING_DIRECTORY "${dependencies_dir}/${_obs_destination}")
|
||||
message(STATUS "Patch - done")
|
||||
|
||||
message(STATUS "Configure ${label} (${arch})")
|
||||
|
20
patch_libobs.diff
Normal file
20
patch_libobs.diff
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
|
||||
index d2e2671..5a9242a 100644
|
||||
--- a/libobs/CMakeLists.txt
|
||||
+++ b/libobs/CMakeLists.txt
|
||||
@@ -263,6 +263,7 @@ set(public_headers
|
||||
graphics/vec3.h
|
||||
graphics/vec4.h
|
||||
media-io/audio-io.h
|
||||
+ media-io/audio-resampler.h
|
||||
media-io/frame-rate.h
|
||||
media-io/media-io-defs.h
|
||||
media-io/video-io.h
|
||||
@@ -287,6 +288,7 @@ set(public_headers
|
||||
util/base.h
|
||||
util/bmem.h
|
||||
util/c99defs.h
|
||||
+ util/circlebuf.h
|
||||
util/darray.h
|
||||
util/profiler.h
|
||||
util/sse-intrin.h
|
@ -263,6 +263,7 @@ void process_audio_from_buffer(struct transcription_filter_data *gf)
|
||||
if (gf->log_words) {
|
||||
obs_log(LOG_INFO, "skipping inference");
|
||||
}
|
||||
gf->setTextCallback("");
|
||||
}
|
||||
|
||||
// end of timer
|
||||
|
Loading…
Reference in New Issue
Block a user