Overview

Request 6292 (accepted)

submitting this early as it fixes some obs-studio virtual camera problems on TW


obs-studio.changes Changed
x
 
1
@@ -1,9 +1,371 @@
2
 -------------------------------------------------------------------
3
+Tue Jun 24 11:46:50 UTC 2025 - darix <packman@nordisch.org>
4
+
5
+- drop fix-json11-build.patch 
6
+  - already in 31.x
7
+
8
+-------------------------------------------------------------------
9
 Tue Jun 17 14:34:43 UTC 2025 - Hans-Peter Jansen <hp@urpla.net>
10
 
11
 - fix build with fix-json11-build.patch
12
 
13
 -------------------------------------------------------------------
14
+Mon Jun 16 23:19:59 UTC 2025 - darix <packman@nordisch.org>
15
+
16
+- Update to version 31.1.0~rc1:
17
+  * frontend: Set Frontend-API QActions role to NoRole
18
+  * frontend: Fix visibility issues of meta type stream operators
19
+  * frontend: Fix preview zoom buttons translation string
20
+  * obs-websocket: Update version to 5.6.1
21
+  * obs-browser: Update to 2.25.1
22
+  * frontend: Fix group icon position in System theme
23
+  * CI: Use rebuilt CEF to avoid memory allocation crashes on macOS
24
+  * CI: Update sign-windows commit
25
+  * Update translations from Crowdin
26
+
27
+-------------------------------------------------------------------
28
+Sat Jun 07 01:02:25 UTC 2025 - darix <packman@nordisch.org>
29
+
30
+- Update to version 31.1.0~beta2:
31
+  * CI: Update steam-upload runner to macos-15
32
+  * CI: Update windows-signing to rclone 1.69.3
33
+  * CI: Make windows-signing fully architecture aware
34
+  * CI: Use architecture subfolder for OBS builds for windows-signing
35
+  * CI: Use architecture subfolder for old builds for windows-patches
36
+  * CI: Fix Steam upload again
37
+  * CI: Unpin actions/upload-artifact to v4.3.5 for windows-patches
38
+  * frontend: Make Mac font base value configurable
39
+  * frontend: Recognize OBS appearance setting usage in math statements
40
+  * obs-ffmpeg: Add B-frame CQP support for AMD AV1 encoder
41
+  * CI: Explicitly label Windows artifact and asset architecture
42
+  * frontend: Fix metatype declaration for scenes' SignalContainer
43
+  * frontend: Fix tab padding for the new appearance options
44
+  * frontend/forms: Fix text cut off in multitrack video info
45
+  * frontend/forms: Fix duplicate UI element name warning
46
+  * frontend: Set minimum width for menubar padding
47
+  * frontend: Fix appearance settings enabling Apply button
48
+  * frontend: Update projector menu for disabled preview
49
+  * frontend: Adjust volume mixer styling on Classic theme
50
+  * libobs: Actually mark obs_add|remove_data_path as deprecated
51
+  * shared/obs-hook-config: Update graphics hook to 1.8.7
52
+  * CI: Fix CEF ubuntu-aarch64 build
53
+  * CI: Fix Steam Upload
54
+  * CI: Add WoA artifacts to releases
55
+
56
+-------------------------------------------------------------------
57
+Fri May 30 01:21:06 UTC 2025 - darix <packman@nordisch.org>
58
+
59
+- refreshed patch
60
+  0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
61
+- drop 11906.patch
62
+  included in update
63
+- track series file to make it easier to refresh patches
64
+- New BuildRequires extra-cmake-modules
65
+
66
+-------------------------------------------------------------------
67
+Fri May 30 01:16:46 UTC 2025 - darix <packman@nordisch.org>
68
+
69
+- Update to version 31.1.0~beta1:
70
+  * frontend: Ensure cookie ID is always 16 hexadecimal characters
71
+  * frontend: Update Dock toolbar styling
72
+  * linux-pipewire: Fix render technique in captures
73
+  * frontend: Enable browser hw accel toggle under Linux
74
+  * libobs: Update version to 31.1.0
75
+  * build-aux: Update Flatpak modules
76
+  * CI: Update deps to 2025-05-23 release
77
+  * obs-websocket: Update version to 5.6.0
78
+  * win-capture: Fix crash if cursor size is zero
79
+  * frontend: Fix spacing of group expand button
80
+  * frontend: Make profile export menu item translatable
81
+  * frontend: Fix multiview translation string
82
+  * frontend: Fix button pressed color in Rachni theme
83
+  * libobs/util: Fix coprocess not having environment variables
84
+  * frontend: Swap preview zoom buttons
85
+  * frontend: Add missing translations
86
+  * frontend: Fix visibility and lock checkbox in System theme
87
+  * frontend: Explicitly set titlebar item padding
88
+  * frontend: Fix canvas remove event
89
+  * frontend: Fix dock title button sizes
90
+  * CI: Add CEF & enable obs-browser for Windows on ARM
91
+  * win-capture: Add SDL_app to list of generic classes
92
+  * obs-outputs: Correct FLV composition time offset calculations
93
+  * libobs-opengl: Promote eglCreateImage failure to LOG_ERROR
94
+  * linux-v4l2: Skip decode H264/MJPEG frames during capture
95
+  * CONTRIBUTING.rst: Fix typo
96
+  * frontend: Add close icon
97
+  * CI: Update obs-crowdin-sync to latest
98
+  * frontend: Use winId for Wayland surface in Qt 6.9+
99
+  * frontend: Use public QNativeInterface in Qt 6.5+
100
+  * obs-browser: Update to 2.25.0
101
+  * frontend: Fix build on FreeBSD
102
+  * libobs: Fix canvas_dosignal_source() using wrong signal handler
103
+  * libobs: Add obs_canvas_get_signal_handler
104
+  * docs: Fix function name obs_set_video_sdr_white_level
105
+  * decklink: Fix incorrect HDR min mastering luminance value
106
+  * libobs: Add checks to some graphics API functions
107
+  * frontend: Allow 5 multitrack reconnect attempts before re-running GCC
108
+  * libobs/util: Fix build on FreeBSD
109
+  * frontend: Fix character encoding issue during profile import
110
+  * libobs: Fall back to main canvas dimensions if group canvas unset
111
+  * libobs: Add obs_canvas_rename_source()
112
+  * media-playback: Fix possible crash on startup
113
+  * rtmp-services: Remove defunct servers/services
114
+  * frontend: Use static_cast when casting from void pointers
115
+  * win-capture: Fix crash if no display is available
116
+  * Revert "obs-ffmpeg: New default AMD encoding settings"
117
+  * Revert "obs-ffmpeg: Add Pre-Analysis checkbox for AMD encoder"
118
+  * obs-ffmpeg: Add Pre-Analysis checkbox for AMD encoder
119
+  * obs-ffmpeg: New default AMD encoding settings
120
+  * frontend: Allow selecting additional canvases for multitrack
121
+  * frontend: Update multitrack API model
122
+  * frontend: Always limit multitrack video encoders to libobs maximum
123
+  * libobs: Raise max number of output encoders to 10
124
+  * libobs/util: Fix os_process_pipe_create on Linux
125
+  * libobs: Improve readability of scene duplication type
126
+  * frontend: Make sure all QObject subclasses have Q_OBJECT macro
127
+  * libobs: Fix module load in relocatable scenario
128
+  * nv-filters: Fix warnings with Visual Studio 2022 17.14
129
+  * win-capture: Fix warnings with Visual Studio 2022 17.14
130
+  * frontend: Add frontend API canvas methods
131
+  * frontend: Add support loading/saving additional canvases
132
+  * frontend: Add OBS::Canvas class
133
+  * frontend: Use Q_OBJECT macro for BrowserDock
134
+  * rtmp-services: Add Enhanced Streaming support for Dolby Millicast
135
+  * libobs: Mark data path modification functions as deprecated
136
+  * UI,libobs,obs-outputs: Remove HAVE_OBSCONFIG_H ifdefs
137
+  * frontend: Allow Network Optimizations with multitrack video
138
+  * obs-outputs: Include all audio encoder bitrates
139
+  * frontend: Allow Stream Delay with multitrack video
140
+  * obs-outputs: Correct mp4_output_destory to mp4_output_destroy
141
+  * linux-v4l2: Add support for virtual camera on non-Linux environments
142
+  * frontend: Clip source names when dock too small
143
+  * libobs: Use absolute path for install prefix module load
144
+  * win-capture: Update hooked state before unhooked signal
145
+  * libobs/callback: Catch fail cases with missing error data
146
+  * libobs: Fix setting non-0 order on only scene item
147
+  * cmake: Replace Xcb CMake finders with ECM
148
+  * cmake: Replace Wayland CMake finder with ECM
149
+  * cmake: Use Extra CMake Modules on Linux
150
+  * frontend: Add dedicated translation of remaining time
151
+  * cmake: Group blake2 targets under same directory for IDEs
152
+  * frontend: Use default location for user settings as fallback
153
+  * libobs/util: Prevent locking mutex in child process when checking Qt5
154
+  * build-aux: Fix incorrect HEVC vertical resolution on AMD VCN
155
+  * obs-ffmpeg: Query and log the AMF codec level
156
+  * obs-ffmpeg: Set AMF codec level properly
157
+  * frontend: Remove unused item delegate parameters
158
+  * frontend: Adjust missing files dialog
159
+  * mac-capture: Fix incorrect enum comparison
160
+  * frontend/components: Remove NonCheckableButton
161
+  * frontend: Highlight control dock buttons using style class
162
+  * linux-v4l2: Fix virtual camera start failure
163
+  * media-playback: Fix possible crash if frame width or height is zero
164
+  * graphics-hook: Fix crash with Vulkan DirectDisplay
165
+  * frontend/widgets: Optimize preview primitive rendering
166
+  * libobs/graphics: Add gs_draw_quadf()
167
+  * libobs/graphics: Improve sprite drawing perf
168
+  * libobs/graphics: Optimize certain matrix4 functions
169
+  * libobs/graphics: Remove some unnecessary checks
170
+  * libobs/graphics: Separate some sections via comments
171
+  * frontend: Clean up various strings
172
+  * frontend/widgets: Fix integer overflow
173
+  * obs-qsv11: Remove non-functional CQM-related code
174
+  * CI: Use Flatpak action upstream
175
+  * frontend: Add new appearance options
176
+  * frontend: Migrate scene collection usage to new SceneCollection class
177
+  * frontend: Add SceneCollection class as data model for Scene Collections
178
+  * rtmp-services: Update niconico ingests
179
+  * rtmp-services: Add HEVC to supported video codecs for Bilibili
180
+  * clang-format: Update source code files with clang-format 19.1.1
181
+  * clang-format: Enable skipping of macro definitions for clang-format 19
182
+  * CI: Update clang-format version to 19.1.1
183
+  * build-aux: Use GitHub repo for LuaJIT
184
+  * frontend: Reorganize Preview/Source context menu
185
+  * frontend: Increase MAX_CRASH_REPORT_SIZE to 200 KB
186
+  * CI: Update signing action commit
187
+  * CI: Support signed ARM builds
188
+  * CI: Fix Windows signing workflow name
189
+  * CI: Sign game capture with RSA cert first
190
+  * frontend/themes: Re-add transparent border
191
+  * frontend: Re-set list spacing of source and scene tree to 0
192
+  * frontend: Remove additional spacing hack in SourceTreeItem
193
+  * obs-ffmpeg: Add OpenH264 H.264 software codec
194
+  * frontend: Focus text entry in NameDialog
195
+  * frontend: Adjust styling for SourceTree
196
+  * frontend: Auto-select manually added file imports
197
+  * frontend: Adjust scene collection importer
198
+  * frontend: Unify appearance of menus
199
+  * mac-avcapture: Use list-based format selector
200
+  * CI: Update bouf to v0.6.5
201
+  * deps/json11: Fix compile error on GCC 15+
202
+  * CI: Clean up Flatpak cache detection
203
+  * docs: Add canvases documentation
204
+  * libobs: Use UUIDs in scene undo/redo data
205
+  * libobs: Add Canvas object RAII wrappers
206
+  * libobs: Introduce Canvases
207
+  * libobs: Add video_reset signal
208
+  * libobs: Add view type to view object
209
+  * frontend: Enable multitrack video controls on Linux
210
+  * frontend: Support enhanced broadcasting on Linux
211
+  * frontend: Convert "profile" to an integer for VAAPI encoders
212
+  * obs-ffmpeg: Make VAAPI rc_mode comparison case insensitive
213
+  * libobs/util: Update `os_get_free_size()`
214
+  * libobs, libobs-opengl: Add memory and identification APIs
215
+  * frontend: Add preview zoom controls
216
+  * libobs: Deprecate obs_get_transition_by_name|uuid
217
+  * frontend: Make list spacing consistent
218
+  * linux-pipewire: Fix 10- and 16-bit captures
219
+  * cmake: Adjust macOS SDK detection
220
+  * libobs: Update version to 31.0.3
221
+  * libobs: Fix duplicating scene with custom size
222
+  * frontend: Remove Exit button (#11887)
223
+  * obs-websocket: Update version to 5.5.6
224
+  * rtmp-services: Add "VRCDN - Live" service
225
+  * frontend: Only emit frontend events for existing scene collection
226
+  * CI: Add workflow_dispatch trigger to scheduled repository workflow
227
+  * rtmp-services: Update Castr.io ingests
228
+  * rtmp-services: Remove defunct servers/services
229
+  * mac-avcapture: Clear memory when creating frame struct
230
+  * obs-browser: Update version to 2.24.6
231
+  * nv-filters:  Silence initial load error for Blur
232
+  * nv-filters: Remove reset signal for Video effects
233
+  * nv-filters: Fix  CudaStream used in Video effects
234
+  * nv-filters: Reallocate state when resetting AIGS filters
235
+  * nv-filters: Fix destruction of Background Blur effect
236
+  * nv-filters: Set max effective threshold to 0.95 for Background removal
237
+  * obs-nvenc: Fix incorrect CUDA array size allocation
238
+  * libobs: Reset reconnecting state when can_reconnect is false
239
+  * frontend: Add reconnect callback for multitrack video
240
+  * libobs: Add optional reconnect callback to outputs
241
+  * Revert "libobs: Do not allow reconnect if stop code is OBS_OUTPUT_INVALID_STREAM"
242
+  * CI: Update flatpak-builder and flat-manager actions
243
+  * build-aux: Update Flatpak modules
244
+  * build-aux,CI: Update KDE Flatpak runtime to 6.8
245
+  * build-aux: Update Flatpak libdatachannel to v0.21.1
246
+  * cmake: Fix some Qt DLLs not being copied due to filename patterns
247
+  * obs-ffmpeg: Fix throughput checks for older AMD driver
248
+  * CI: Use rebuilt CEF to avoid memory allocation crashes on macOS
249
+  * obs-ffmpeg: Add AMD AV1 B-frame support
250
+  * obs-qsv11: Fix CBR Spike for Battlemage
251
+  * win-capture: Add FragPunk to compatibility list
252
+  * CI: Add Windows ARM64 to build matrix
253
+  * plugins: Add ARM64 support to obs-ffmpeg, obs-filters, and obs-outputs
254
+  * cmake: Update cross-platform build project management for Windows
255
+  * CI: Update deps to 2025-03-06 release
256
+  * libobs: Update version to 31.0.2
257
+  * mac-avcapture: Prevent race condition in source init/deinit
258
+  * win-dshow: Fix possible crash if frame width or height is zero
259
+  * libobs,win-capture,win-wasapi: Fix typo in macro WIN32_LEAN_AND_MEAN
260
+  * obs-browser: Update version to 2.24.5
261
+  * obs-websocket: Update version to 5.5.5
262
+  * cmake: Don't copy legacy, unused Chromium file
263
+  * frontend: Define WIN32_LEAN_AND_MEAN conditionally for ARM64
264
+  * obs-outputs: Use _CountTrailingZeros() in ctz32 for ARM64
265
+  * obs-filters: Rename S_THRESHOLD to S_FILTER_THRESHOLD
266
+  * libobs: Add ARM64 support to Windows crash handler
267
+  * deps: Add ARM64 definitions in w32-pthreads
268
+  * frontend: Fix manifest commit hash comparison
269
+  * libobs: Do not lock sources mutex unnecessarily
270
+  * obs-nvenc: Fix lookahead depth value logging
271
+  * libobs: Use limited range for R10l output
272
+  * bpm: Fix potential null-pointer dereference
273
+  * frontend: Add support for TEB/GoLiveApi on Apple Silicon
274
+  * cmake: Replace COMPILE_FLAGS with COMPILE_OPTIONS
275
+  * obs-nvenc: Correct max target quality for AV1
276
+  * cmake: Specify NOMINMAX all the time on Windows
277
+  * linux-pipewire: Add explicit sync support
278
+  * libobs,libobs-opengl: Add gs_sync_t
279
+  * deps/glad: Add EGL_ANDROID_native_fence_sync
280
+  * frontend: Round up Resize Output (Source Size)
281
+  * frontend: Use OBSBasic::Get() in all places
282
+  * frontend: Add Input Monitoring to permissions dialog
283
+  * libobs: Rewrite macOS Hotkeys to use CGEventTap
284
+  * cmake: Fix regexp to detect installed FFmpeg version
285
+  * nv-filters: Remove CUDA RT functions
286
+  * nv-filters: Update SDK version targeted
287
+  * CI: Fix typo in setup-macos-codesigning action
288
+  * rtmp-services: Remove unresponsive servers
289
+  * frontend: Simplify how projectors are saved/loaded
290
+  * frontend: Remove unnecessary projector variable
291
+  * frontend: Log streaming service recommended maximums
292
+  * obs-webrtc: Enable PacingHandler
293
+  * mac-videotoolbox: Add Spatial AQ option (macOS 15)
294
+  * frontend: Support preferred video format/space/range in GoLiveApi
295
+  * libobs: Support format/space/range conversion in encoder GPU scaling
296
+  * libobs: Deprecate obs_(nv12|p010)_tex_active()
297
+  * obs-qsv11: Migrate to obs_encoder_video_tex_active()
298
+  * obs-ffmpeg: Use `obs_encoder_video_tex_active()` for AMF
299
+  * obs-nvenc: Migrate to obs_encoder_video_tex_active()
300
+  * libobs: Add obs_encoder_video_tex_active()
301
+  * frontend: Add audio properties to GetClientConfiguration request
302
+  * libos: Add `obs_get_audio_info2()`
303
+  * libobs: plugins: Use MAD for sRGB functions
304
+  * aja: Remove holding source settings
305
+  * frontend: Restart multitrack output if stream key has become invalid
306
+  * frontend: Remove multitrack deactivate handlers
307
+  * libobs: Only modify raw_active counter if (dis-)connection succeeded
308
+  * libobs: Add video_output_disconnect2()
309
+  * obs-scripting: Fix macOS Homebrew Python loading
310
+  * obs-outputs: Make MP4 output buffer/chunk size configurable
311
+  * .gitignore: Remove UI exclusion
312
+  * frontend: Move media control dynamic properties to ui file
313
+  * obs-outputs: Attempt to generate path if one is not specified
314
+  * obs-ffmpeg: Fix deprecation with FFmpeg 7.1
315
+  * libobs/util: Fix tv_nsec becoming 1000000000 in os_event_timedwait
316
+  * obs-ffmpeg: Add QVBR rate control for VA-API
317
+  * cmake: Update macOS development version requirements
318
+  * CI: Update macOS workflows to macOS 15 runners with Xcode 16.1
319
+  * libobs: Update version to 31.0.1
320
+  * frontend: Use filename stem as fallback value on empty collection name
321
+  * frontend: Prevent creation of scene collections with empty name
322
+  * cmake: Turn off camera reaction by default on macOS 14.4 and later
323
+  * libobs: Fix underlinking by adding libx11
324
+  * image-source: Fix slideshow stopping on last file in random mode
325
+  * obs-nvenc: Abort encoder init if custom options are invalid
326
+  * obs-nvenc: Fix translation string for 4:4:4 unsupported error
327
+  * frontend: Finalize merge of OBSBasic Sources with module sources
328
+  * CI: Update actions and build scripts to use new frontend directory
329
+  * build-aux: Replace UI directory with frontend directory for formatters
330
+  * cmake: Update main CMakeLists file to use refactored frontend
331
+  * frontend: Migrate frontend plugins
332
+  * frontend: Migrate Qt UI files
333
+  * frontend: Migrate OBS Studio data directory
334
+  * frontend: Migrate obs-frontend-api
335
+  * frontend: Migrate CMake files
336
+  * frontend: Migrate Windows updater
337
+  * frontend: Split main application implementation into single files
338
+  * frontend: Prepare main application implementation for splits
339
+  * frontend: Split Qt UI autoconfig implementations into single files
340
+  * frontend: Prepare Qt UI autoconfig wizards for splits
341
+  * frontend: Split Qt UI Widget implementations into single files per class
342
+  * frontend: Prepare Qt UI Widgets for splits
343
+  * frontend: Add renamed Qt UI Widgets
344
+  * frontend: Split UI utility implementation into single files per class
345
+  * frontend: Prepare UI utility files for splits
346
+  * frontend: Add renamed UI utility classes and functions
347
+  * frontend: Prepare sources for merge with OBSBasic modules
348
+  * frontend: Split Settings implementation into single files per C++ class
349
+  * frontend: Add renamed Qt UI dialogs
350
+  * frontend: Prepare Qt Settings UI files for splits
351
+  * frontend: Add renamed Qt Settings UI implementation
352
+  * frontend: Split OAuth implementation into single files per C++ class
353
+  * frontend: Prepare OAuth implementation for splits
354
+  * frontend: Add renamed OAuth implementation
355
+  * frontend: Split OBSImporter into single files per C++ class
356
+  * frontend: Add OBSImporter and importer implementations
357
+  * frontend: Add renamed Qt UI docks
358
+  * frontend: Split Qt UI dialogs into single files per C++ class
359
+  * frontend: Prepare Qt UI dialogs for splits
360
+  * frontend: Split Qt UI component into single file per C++ class
361
+  * frontend: Prepare Qt UI components for splits
362
+  * frontend: Add renamed Qt UI components
363
+  * frontend: Add new frontend directory to gitignore file
364
+  * libobs: Fix deadlock on macOS input method change
365
+  * libobs-opengl: Avoid trying to allocate 0 byte on Linux
366
+  * Revert "WIP"
367
+  * WIP
368
+
369
+-------------------------------------------------------------------
370
 Wed Apr  9 08:48:22 UTC 2025 - darix <packman@nordisch.org>
371
 
372
 - Pull in https://github.com/obsproject/obs-studio/pull/11906.patch
373
obs-studio.spec Changed
37
 
1
@@ -35,7 +35,7 @@
2
 %endif
3
 
4
 Name:           obs-studio
5
-Version:        31.0.3
6
+Version:        31.1.0~rc1
7
 Release:        0
8
 Summary:        A recording/broadcasting program
9
 Group:          Productivity/Multimedia/Video/Editors and Convertors
10
@@ -47,13 +47,13 @@
11
 %if %{with cef}
12
 Source17:       %{cef_binary}.tar.bz2
13
 %endif
14
+Source99:       series
15
 Patch1:         0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
16
 Patch2:         libx264-optional.patch
17
 Patch3:         ffmpeg-x11-linking.patch
18
-Patch4:         11906.patch
19
-Patch5:         fix-json11-build.patch
20
 BuildRequires:  update-desktop-files
21
 BuildRequires:  cmake >= 2.8.12
22
+BuildRequires:  extra-cmake-modules
23
 BuildRequires:  pkgconfig(fdk-aac)
24
 BuildRequires:  fdupes
25
 BuildRequires:  fontconfig-devel
26
@@ -173,8 +173,8 @@
27
 mkdir -p build && cd build
28
 # does not like cmake macro as it fails to link in math.h (-lma
29
 # the compile flags must be relaxed in order to compile obs-studio successfully
30
-export CFLAGS="%{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder -Wno-error=switch -Wno-error=catch-value="
31
-export CXXFLAGS="%{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder -Wno-error=switch -Wno-error=catch-value="
32
+export CFLAGS="%{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder -Wno-error=switch -Wno-error=catch-value -Wno-error=stringop-truncation"
33
+export CXXFLAGS="%{optflags} -Wno-error=type-limits -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=pointer-sign -Wno-error=reorder -Wno-error=switch -Wno-error=catch-value -Wno-error=stringop-truncation"
34
 
35
 cmake \
36
   -DCMAKE_CXX_STANDARD=17 \
37
0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch Changed
25
 
1
@@ -7,11 +7,11 @@
2
  plugins/linux-v4l2/v4l2-output.c | 2 +-
3
  1 file changed, 1 insertion(+), 1 deletion(-)
4
 
5
-diff --git a/plugins/linux-v4l2/v4l2-output.c b/plugins/linux-v4l2/v4l2-output.c
6
-index 05ac70b42..d48088ad4 100644
7
---- a/plugins/linux-v4l2/v4l2-output.c
8
-+++ b/plugins/linux-v4l2/v4l2-output.c
9
-@@ -86,7 +86,7 @@ bool loopback_module_available()
10
+Index: obs-studio/plugins/linux-v4l2/v4l2-output.c
11
+===================================================================
12
+--- obs-studio.orig/plugins/linux-v4l2/v4l2-output.c
13
++++ obs-studio/plugins/linux-v4l2/v4l2-output.c
14
+@@ -90,7 +90,7 @@ bool loopback_module_available()
15
        return true;
16
    }
17
  
18
@@ -20,6 +20,3 @@
19
        return true;
20
    }
21
  
22
--- 
23
-2.31.1
24
-
25
11906.patch Deleted
114
 
1
@@ -1,112 +0,0 @@
2
-From 52d57cf70ca70f55378112f6eeb5708fb7680a6b Mon Sep 17 00:00:00 2001
3
-From: stephematician <steph.fn.contact@proton.me>
4
-Date: Wed, 19 Mar 2025 13:59:21 +1100
5
-Subject: PATCH linux-v4l2: Fix virtual camera start failure
6
-
7
-Add function that tries to reset v4l2loopback output for module versions
8
-from 0.12.5 to 0.12.7. If successful, then set flag that STREAMON and
9
-STREAMOFF are necessary each time the device is opened/closed.
10
----
11
- plugins/linux-v4l2/v4l2-output.c | 57 ++++++++++++++++++++++++++++++--
12
- 1 file changed, 54 insertions(+), 3 deletions(-)
13
-
14
-diff --git a/plugins/linux-v4l2/v4l2-output.c b/plugins/linux-v4l2/v4l2-output.c
15
-index 366fc474f69d4e..d5e4e0f6ad57fb 100644
16
---- a/plugins/linux-v4l2/v4l2-output.c
17
-+++ b/plugins/linux-v4l2/v4l2-output.c
18
-@@ -15,6 +15,7 @@ struct virtualcam_data {
19
-   obs_output_t *output;
20
-   int device;
21
-   uint32_t frame_size;
22
-+  bool use_caps_workaround;
23
- };
24
- 
25
- static const char *virtualcam_name(void *unused)
26
-@@ -110,11 +111,54 @@ static void *virtualcam_create(obs_data_t *settings, obs_output_t *output)
27
-   return vcam;
28
- }
29
- 
30
-+bool try_reset_output_caps(const char *device)
31
-+{
32
-+  struct v4l2_capability capability;
33
-+  struct v4l2_format format;
34
-+  int fd;
35
-+
36
-+  blog(LOG_INFO, "Attempting to reset output capability of '%s'", device);
37
-+
38
-+  fd = open(device, O_RDWR);
39
-+  if (fd < 0)
40
-+      return false;
41
-+
42
-+  format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
43
-+  if (ioctl(fd, VIDIOC_G_FMT, &format) < 0)
44
-+      goto reset_fail_close_fd;
45
-+
46
-+  if (ioctl(fd, VIDIOC_S_FMT, &format) < 0)
47
-+      goto reset_fail_close_fd;
48
-+
49
-+  if (ioctl(fd, VIDIOC_STREAMON, &format.type) < 0)
50
-+      goto reset_fail_close_fd;
51
-+
52
-+  if (ioctl(fd, VIDIOC_STREAMOFF, &format.type) < 0)
53
-+      goto reset_fail_close_fd;
54
-+
55
-+  close(fd);
56
-+
57
-+  fd = open(device, O_RDWR);
58
-+  if (fd < 0)
59
-+      return false;
60
-+
61
-+  if (ioctl(fd, VIDIOC_QUERYCAP, &capability) < 0)
62
-+      goto reset_fail_close_fd;
63
-+
64
-+  close(fd);
65
-+  return (capability.device_caps & V4L2_CAP_VIDEO_OUTPUT) != 0;
66
-+
67
-+reset_fail_close_fd:
68
-+  close(fd);
69
-+  return false;
70
-+}
71
-+
72
- static bool try_connect(void *data, const char *device)
73
- {
74
-+  static bool use_caps_workaround = false;
75
-   struct virtualcam_data *vcam = (struct virtualcam_data *)data;
76
--  struct v4l2_format format;
77
-   struct v4l2_capability capability;
78
-+  struct v4l2_format format;
79
-   struct v4l2_streamparm parm;
80
- 
81
-   uint32_t width = obs_output_get_width(vcam->output);
82
-@@ -130,6 +174,13 @@ static bool try_connect(void *data, const char *device)
83
-   if (ioctl(vcam->device, VIDIOC_QUERYCAP, &capability) < 0)
84
-       goto fail_close_device;
85
- 
86
-+  if (!use_caps_workaround && !(capability.device_caps & V4L2_CAP_VIDEO_OUTPUT)) {
87
-+      if (!try_reset_output_caps(device))
88
-+          goto fail_close_device;
89
-+      use_caps_workaround = true;
90
-+  }
91
-+  vcam->use_caps_workaround = use_caps_workaround;
92
-+
93
-   format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
94
- 
95
-   if (ioctl(vcam->device, VIDIOC_G_FMT, &format) < 0)
96
-@@ -165,7 +216,7 @@ static bool try_connect(void *data, const char *device)
97
-   memset(&parm, 0, sizeof(parm));
98
-   parm.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
99
- 
100
--  if (ioctl(vcam->device, VIDIOC_STREAMON, &parm) < 0) {
101
-+  if (vcam->use_caps_workaround && ioctl(vcam->device, VIDIOC_STREAMON, &parm.type) < 0) {
102
-       blog(LOG_ERROR, "Failed to start streaming on '%s' (%s)", device, strerror(errno));
103
-       goto fail_close_device;
104
-   }
105
-@@ -241,7 +292,7 @@ static void virtualcam_stop(void *data, uint64_t ts)
106
-   struct v4l2_streamparm parm = {0};
107
-   parm.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
108
- 
109
--  if (ioctl(vcam->device, VIDIOC_STREAMOFF, &parm) < 0) {
110
-+  if (vcam->use_caps_workaround && ioctl(vcam->device, VIDIOC_STREAMOFF, &parm) < 0) {
111
-       blog(LOG_WARNING, "Failed to stop streaming on video device %d (%s)", vcam->device, strerror(errno));
112
-   }
113
- 
114
fix-json11-build.patch Deleted
14
 
1
@@ -1,12 +0,0 @@
2
-Index: b/deps/json11/json11.cpp
3
-===================================================================
4
---- a/deps/json11/json11.cpp
5
-+++ b/deps/json11/json11.cpp
6
-@@ -22,6 +22,7 @@
7
- #include "json11.hpp"
8
- #include <cassert>
9
- #include <cmath>
10
-+#include <cstdint>
11
- #include <cstdlib>
12
- #include <cstdio>
13
- #include <limits>
14
_service Changed
22
 
1
@@ -1,16 +1,16 @@
2
 <services>
3
-  <service name="tar_scm" mode="disabled">
4
+  <service name="tar_scm" mode="manual">
5
     <param name="versionformat">@PARENT_TAG@</param>
6
-    <param name="revision">31.0.3</param>
7
+    <param name="revision">31.1.0-rc1</param>
8
     <param name="url">https://github.com/obsproject/obs-studio.git</param>
9
     <param name="versionrewrite-pattern">(\.\d+)-(a-z.*)</param>
10
     <param name="versionrewrite-replacement">\1~\2</param>
11
     <param name="scm">git</param>
12
     <param name="changesgenerate">enable</param>
13
   </service>
14
-  <service name="recompress" mode="disabled">
15
+  <service name="recompress" mode="manual">
16
     <param name="compression">xz</param>
17
     <param name="file">*.tar</param>
18
   </service>
19
-  <service name="set_version" mode="disabled"/>
20
+  <service name="set_version" mode="manual"/>
21
 </services>
22
_servicedata Changed
10
 
1
@@ -1,6 +1,6 @@
2
 <servicedata>
3
   <service name="tar_scm">
4
     <param name="url">https://github.com/obsproject/obs-studio.git</param>
5
-    <param name="changesrevision">fcd1910bf5116b69404a6ecdda6efedd1d00ebdf</param>
6
+    <param name="changesrevision">d3c5d2ce0b15bac7a502f5aef4b3b5ec72ee8e09</param>
7
   </service>
8
 </servicedata>
9
\ No newline at end of file
10
obs-studio-31.0.3.tar.xz Deleted
obs-studio-31.1.0~rc1.tar.xz Added
series Added
5
 
1
@@ -0,0 +1,3 @@
2
+0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
3
+libx264-optional.patch
4
+ffmpeg-x11-linking.patch
5
Refresh
Refresh
Request History
darix's avatar

darix created request 2 months ago

submitting this early as it fixes some obs-studio virtual camera problems on TW


frispete's avatar

frispete accepted request 2 months ago

Cool, thanks!