Overview

Request 6260 (superseded)

- Update to version 31.0.3:
* libobs: Update version to 31.0.3
* libobs: Fix duplicating scene with custom size
* obs-websocket: Update version to 5.5.6
* UI: Only emit frontend events for existing scene collection
* rtmp-services: Add "VRCDN - Live" service
* rtmp-services: Update Castr.io ingests
* rtmp-services: Remove defunct servers/services
* mac-avcapture: Clear memory when creating frame struct
* obs-browser: Update version to 2.24.6
* nv-filters: Silence initial load error for Blur
* nv-filters: Remove reset signal for Video effects
* nv-filters: Fix CudaStream used in Video effects
* nv-filters: Reallocate state when resetting AIGS filters
* nv-filters: Fix destruction of Background Blur effect
* nv-filters: Set max effective threshold to 0.95 for Background removal
* obs-nvenc: Fix incorrect CUDA array size allocation
* libobs: Reset reconnecting state when can_reconnect is false
* Revert "libobs: Do not allow reconnect if stop code is OBS_OUTPUT_INVALID_STREAM"
* CI: Use rebuilt CEF to avoid memory allocation crashes on macOS
* win-capture: Add FragPunk to compatibility list
* rtmp-services: Remove unresponsive servers

- Update to version 31.0.2:
* libobs: Update version to 31.0.2
* mac-avcapture: Prevent race condition in source init/deinit
* win-dshow: Fix possible crash if frame width or height is zero
* obs-browser: Update version to 2.24.5
* obs-websocket: Update version to 5.5.5
* obs-nvenc: Fix lookahead depth value logging


obs-studio.changes Changed
x
 
1
@@ -1,4 +1,317 @@
2
 -------------------------------------------------------------------
3
+Fri May 30 01:21:06 UTC 2025 - darix <packman@nordisch.org>
4
+
5
+- refreshed patch
6
+  0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
7
+- drop 11906.patch
8
+  included in update
9
+- track series file to make it easier to refresh patches
10
+- New BuildRequires extra-cmake-modules
11
+
12
+-------------------------------------------------------------------
13
+Fri May 30 01:16:46 UTC 2025 - darix <packman@nordisch.org>
14
+
15
+- Update to version 31.1.0~beta1:
16
+  * frontend: Ensure cookie ID is always 16 hexadecimal characters
17
+  * frontend: Update Dock toolbar styling
18
+  * linux-pipewire: Fix render technique in captures
19
+  * frontend: Enable browser hw accel toggle under Linux
20
+  * libobs: Update version to 31.1.0
21
+  * build-aux: Update Flatpak modules
22
+  * CI: Update deps to 2025-05-23 release
23
+  * obs-websocket: Update version to 5.6.0
24
+  * win-capture: Fix crash if cursor size is zero
25
+  * frontend: Fix spacing of group expand button
26
+  * frontend: Make profile export menu item translatable
27
+  * frontend: Fix multiview translation string
28
+  * frontend: Fix button pressed color in Rachni theme
29
+  * libobs/util: Fix coprocess not having environment variables
30
+  * frontend: Swap preview zoom buttons
31
+  * frontend: Add missing translations
32
+  * frontend: Fix visibility and lock checkbox in System theme
33
+  * frontend: Explicitly set titlebar item padding
34
+  * frontend: Fix canvas remove event
35
+  * frontend: Fix dock title button sizes
36
+  * CI: Add CEF & enable obs-browser for Windows on ARM
37
+  * win-capture: Add SDL_app to list of generic classes
38
+  * obs-outputs: Correct FLV composition time offset calculations
39
+  * libobs-opengl: Promote eglCreateImage failure to LOG_ERROR
40
+  * linux-v4l2: Skip decode H264/MJPEG frames during capture
41
+  * CONTRIBUTING.rst: Fix typo
42
+  * frontend: Add close icon
43
+  * CI: Update obs-crowdin-sync to latest
44
+  * frontend: Use winId for Wayland surface in Qt 6.9+
45
+  * frontend: Use public QNativeInterface in Qt 6.5+
46
+  * obs-browser: Update to 2.25.0
47
+  * frontend: Fix build on FreeBSD
48
+  * libobs: Fix canvas_dosignal_source() using wrong signal handler
49
+  * libobs: Add obs_canvas_get_signal_handler
50
+  * docs: Fix function name obs_set_video_sdr_white_level
51
+  * decklink: Fix incorrect HDR min mastering luminance value
52
+  * libobs: Add checks to some graphics API functions
53
+  * frontend: Allow 5 multitrack reconnect attempts before re-running GCC
54
+  * libobs/util: Fix build on FreeBSD
55
+  * frontend: Fix character encoding issue during profile import
56
+  * libobs: Fall back to main canvas dimensions if group canvas unset
57
+  * libobs: Add obs_canvas_rename_source()
58
+  * media-playback: Fix possible crash on startup
59
+  * rtmp-services: Remove defunct servers/services
60
+  * frontend: Use static_cast when casting from void pointers
61
+  * win-capture: Fix crash if no display is available
62
+  * Revert "obs-ffmpeg: New default AMD encoding settings"
63
+  * Revert "obs-ffmpeg: Add Pre-Analysis checkbox for AMD encoder"
64
+  * obs-ffmpeg: Add Pre-Analysis checkbox for AMD encoder
65
+  * obs-ffmpeg: New default AMD encoding settings
66
+  * frontend: Allow selecting additional canvases for multitrack
67
+  * frontend: Update multitrack API model
68
+  * frontend: Always limit multitrack video encoders to libobs maximum
69
+  * libobs: Raise max number of output encoders to 10
70
+  * libobs/util: Fix os_process_pipe_create on Linux
71
+  * libobs: Improve readability of scene duplication type
72
+  * frontend: Make sure all QObject subclasses have Q_OBJECT macro
73
+  * libobs: Fix module load in relocatable scenario
74
+  * nv-filters: Fix warnings with Visual Studio 2022 17.14
75
+  * win-capture: Fix warnings with Visual Studio 2022 17.14
76
+  * frontend: Add frontend API canvas methods
77
+  * frontend: Add support loading/saving additional canvases
78
+  * frontend: Add OBS::Canvas class
79
+  * frontend: Use Q_OBJECT macro for BrowserDock
80
+  * rtmp-services: Add Enhanced Streaming support for Dolby Millicast
81
+  * libobs: Mark data path modification functions as deprecated
82
+  * UI,libobs,obs-outputs: Remove HAVE_OBSCONFIG_H ifdefs
83
+  * frontend: Allow Network Optimizations with multitrack video
84
+  * obs-outputs: Include all audio encoder bitrates
85
+  * frontend: Allow Stream Delay with multitrack video
86
+  * obs-outputs: Correct mp4_output_destory to mp4_output_destroy
87
+  * linux-v4l2: Add support for virtual camera on non-Linux environments
88
+  * frontend: Clip source names when dock too small
89
+  * libobs: Use absolute path for install prefix module load
90
+  * win-capture: Update hooked state before unhooked signal
91
+  * libobs/callback: Catch fail cases with missing error data
92
+  * libobs: Fix setting non-0 order on only scene item
93
+  * cmake: Replace Xcb CMake finders with ECM
94
+  * cmake: Replace Wayland CMake finder with ECM
95
+  * cmake: Use Extra CMake Modules on Linux
96
+  * frontend: Add dedicated translation of remaining time
97
+  * cmake: Group blake2 targets under same directory for IDEs
98
+  * frontend: Use default location for user settings as fallback
99
+  * libobs/util: Prevent locking mutex in child process when checking Qt5
100
+  * build-aux: Fix incorrect HEVC vertical resolution on AMD VCN
101
+  * obs-ffmpeg: Query and log the AMF codec level
102
+  * obs-ffmpeg: Set AMF codec level properly
103
+  * frontend: Remove unused item delegate parameters
104
+  * frontend: Adjust missing files dialog
105
+  * mac-capture: Fix incorrect enum comparison
106
+  * frontend/components: Remove NonCheckableButton
107
+  * frontend: Highlight control dock buttons using style class
108
+  * linux-v4l2: Fix virtual camera start failure
109
+  * media-playback: Fix possible crash if frame width or height is zero
110
+  * graphics-hook: Fix crash with Vulkan DirectDisplay
111
+  * frontend/widgets: Optimize preview primitive rendering
112
+  * libobs/graphics: Add gs_draw_quadf()
113
+  * libobs/graphics: Improve sprite drawing perf
114
+  * libobs/graphics: Optimize certain matrix4 functions
115
+  * libobs/graphics: Remove some unnecessary checks
116
+  * libobs/graphics: Separate some sections via comments
117
+  * frontend: Clean up various strings
118
+  * frontend/widgets: Fix integer overflow
119
+  * obs-qsv11: Remove non-functional CQM-related code
120
+  * CI: Use Flatpak action upstream
121
+  * frontend: Add new appearance options
122
+  * frontend: Migrate scene collection usage to new SceneCollection class
123
+  * frontend: Add SceneCollection class as data model for Scene Collections
124
+  * rtmp-services: Update niconico ingests
125
+  * rtmp-services: Add HEVC to supported video codecs for Bilibili
126
+  * clang-format: Update source code files with clang-format 19.1.1
127
+  * clang-format: Enable skipping of macro definitions for clang-format 19
128
+  * CI: Update clang-format version to 19.1.1
129
+  * build-aux: Use GitHub repo for LuaJIT
130
+  * frontend: Reorganize Preview/Source context menu
131
+  * frontend: Increase MAX_CRASH_REPORT_SIZE to 200 KB
132
+  * CI: Update signing action commit
133
+  * CI: Support signed ARM builds
134
+  * CI: Fix Windows signing workflow name
135
+  * CI: Sign game capture with RSA cert first
136
+  * frontend/themes: Re-add transparent border
137
+  * frontend: Re-set list spacing of source and scene tree to 0
138
+  * frontend: Remove additional spacing hack in SourceTreeItem
139
+  * obs-ffmpeg: Add OpenH264 H.264 software codec
140
+  * frontend: Focus text entry in NameDialog
141
+  * frontend: Adjust styling for SourceTree
142
+  * frontend: Auto-select manually added file imports
143
+  * frontend: Adjust scene collection importer
144
+  * frontend: Unify appearance of menus
145
+  * mac-avcapture: Use list-based format selector
146
+  * CI: Update bouf to v0.6.5
147
+  * deps/json11: Fix compile error on GCC 15+
148
+  * CI: Clean up Flatpak cache detection
149
+  * docs: Add canvases documentation
150
+  * libobs: Use UUIDs in scene undo/redo data
151
+  * libobs: Add Canvas object RAII wrappers
152
+  * libobs: Introduce Canvases
153
+  * libobs: Add video_reset signal
154
+  * libobs: Add view type to view object
155
+  * frontend: Enable multitrack video controls on Linux
156
+  * frontend: Support enhanced broadcasting on Linux
157
+  * frontend: Convert "profile" to an integer for VAAPI encoders
158
+  * obs-ffmpeg: Make VAAPI rc_mode comparison case insensitive
159
+  * libobs/util: Update `os_get_free_size()`
160
+  * libobs, libobs-opengl: Add memory and identification APIs
161
+  * frontend: Add preview zoom controls
162
+  * libobs: Deprecate obs_get_transition_by_name|uuid
163
+  * frontend: Make list spacing consistent
164
+  * linux-pipewire: Fix 10- and 16-bit captures
165
+  * cmake: Adjust macOS SDK detection
166
+  * libobs: Update version to 31.0.3
167
+  * libobs: Fix duplicating scene with custom size
168
+  * frontend: Remove Exit button (#11887)
169
+  * obs-websocket: Update version to 5.5.6
170
+  * rtmp-services: Add "VRCDN - Live" service
171
+  * frontend: Only emit frontend events for existing scene collection
172
+  * CI: Add workflow_dispatch trigger to scheduled repository workflow
173
+  * rtmp-services: Update Castr.io ingests
174
+  * rtmp-services: Remove defunct servers/services
175
+  * mac-avcapture: Clear memory when creating frame struct
176
+  * obs-browser: Update version to 2.24.6
177
+  * nv-filters:  Silence initial load error for Blur
178
+  * nv-filters: Remove reset signal for Video effects
179
+  * nv-filters: Fix  CudaStream used in Video effects
180
+  * nv-filters: Reallocate state when resetting AIGS filters
181
+  * nv-filters: Fix destruction of Background Blur effect
182
+  * nv-filters: Set max effective threshold to 0.95 for Background removal
183
+  * obs-nvenc: Fix incorrect CUDA array size allocation
184
+  * libobs: Reset reconnecting state when can_reconnect is false
185
+  * frontend: Add reconnect callback for multitrack video
186
+  * libobs: Add optional reconnect callback to outputs
187
+  * Revert "libobs: Do not allow reconnect if stop code is OBS_OUTPUT_INVALID_STREAM"
188
+  * CI: Update flatpak-builder and flat-manager actions
189
+  * build-aux: Update Flatpak modules
190
+  * build-aux,CI: Update KDE Flatpak runtime to 6.8
191
+  * build-aux: Update Flatpak libdatachannel to v0.21.1
192
+  * cmake: Fix some Qt DLLs not being copied due to filename patterns
193
+  * obs-ffmpeg: Fix throughput checks for older AMD driver
194
+  * CI: Use rebuilt CEF to avoid memory allocation crashes on macOS
195
+  * obs-ffmpeg: Add AMD AV1 B-frame support
196
+  * obs-qsv11: Fix CBR Spike for Battlemage
197
+  * win-capture: Add FragPunk to compatibility list
198
+  * CI: Add Windows ARM64 to build matrix
199
+  * plugins: Add ARM64 support to obs-ffmpeg, obs-filters, and obs-outputs
200
+  * cmake: Update cross-platform build project management for Windows
201
+  * CI: Update deps to 2025-03-06 release
202
+  * libobs: Update version to 31.0.2
203
+  * mac-avcapture: Prevent race condition in source init/deinit
204
+  * win-dshow: Fix possible crash if frame width or height is zero
205
+  * libobs,win-capture,win-wasapi: Fix typo in macro WIN32_LEAN_AND_MEAN
206
+  * obs-browser: Update version to 2.24.5
207
+  * obs-websocket: Update version to 5.5.5
208
+  * cmake: Don't copy legacy, unused Chromium file
209
+  * frontend: Define WIN32_LEAN_AND_MEAN conditionally for ARM64
210
+  * obs-outputs: Use _CountTrailingZeros() in ctz32 for ARM64
211
+  * obs-filters: Rename S_THRESHOLD to S_FILTER_THRESHOLD
212
+  * libobs: Add ARM64 support to Windows crash handler
213
+  * deps: Add ARM64 definitions in w32-pthreads
214
+  * frontend: Fix manifest commit hash comparison
215
+  * libobs: Do not lock sources mutex unnecessarily
216
+  * obs-nvenc: Fix lookahead depth value logging
217
+  * libobs: Use limited range for R10l output
218
+  * bpm: Fix potential null-pointer dereference
219
+  * frontend: Add support for TEB/GoLiveApi on Apple Silicon
220
+  * cmake: Replace COMPILE_FLAGS with COMPILE_OPTIONS
221
+  * obs-nvenc: Correct max target quality for AV1
222
+  * cmake: Specify NOMINMAX all the time on Windows
223
+  * linux-pipewire: Add explicit sync support
224
+  * libobs,libobs-opengl: Add gs_sync_t
225
+  * deps/glad: Add EGL_ANDROID_native_fence_sync
226
+  * frontend: Round up Resize Output (Source Size)
227
+  * frontend: Use OBSBasic::Get() in all places
228
+  * frontend: Add Input Monitoring to permissions dialog
229
+  * libobs: Rewrite macOS Hotkeys to use CGEventTap
230
+  * cmake: Fix regexp to detect installed FFmpeg version
231
+  * nv-filters: Remove CUDA RT functions
232
+  * nv-filters: Update SDK version targeted
233
+  * CI: Fix typo in setup-macos-codesigning action
234
+  * rtmp-services: Remove unresponsive servers
235
+  * frontend: Simplify how projectors are saved/loaded
236
+  * frontend: Remove unnecessary projector variable
237
+  * frontend: Log streaming service recommended maximums
238
+  * obs-webrtc: Enable PacingHandler
239
+  * mac-videotoolbox: Add Spatial AQ option (macOS 15)
240
+  * frontend: Support preferred video format/space/range in GoLiveApi
241
+  * libobs: Support format/space/range conversion in encoder GPU scaling
242
+  * libobs: Deprecate obs_(nv12|p010)_tex_active()
243
+  * obs-qsv11: Migrate to obs_encoder_video_tex_active()
244
+  * obs-ffmpeg: Use `obs_encoder_video_tex_active()` for AMF
245
+  * obs-nvenc: Migrate to obs_encoder_video_tex_active()
246
+  * libobs: Add obs_encoder_video_tex_active()
247
+  * frontend: Add audio properties to GetClientConfiguration request
248
+  * libos: Add `obs_get_audio_info2()`
249
+  * libobs: plugins: Use MAD for sRGB functions
250
+  * aja: Remove holding source settings
251
+  * frontend: Restart multitrack output if stream key has become invalid
252
+  * frontend: Remove multitrack deactivate handlers
253
+  * libobs: Only modify raw_active counter if (dis-)connection succeeded
254
+  * libobs: Add video_output_disconnect2()
255
+  * obs-scripting: Fix macOS Homebrew Python loading
256
+  * obs-outputs: Make MP4 output buffer/chunk size configurable
257
+  * .gitignore: Remove UI exclusion
258
+  * frontend: Move media control dynamic properties to ui file
259
+  * obs-outputs: Attempt to generate path if one is not specified
260
+  * obs-ffmpeg: Fix deprecation with FFmpeg 7.1
261
+  * libobs/util: Fix tv_nsec becoming 1000000000 in os_event_timedwait
262
+  * obs-ffmpeg: Add QVBR rate control for VA-API
263
+  * cmake: Update macOS development version requirements
264
+  * CI: Update macOS workflows to macOS 15 runners with Xcode 16.1
265
+  * libobs: Update version to 31.0.1
266
+  * frontend: Use filename stem as fallback value on empty collection name
267
+  * frontend: Prevent creation of scene collections with empty name
268
+  * cmake: Turn off camera reaction by default on macOS 14.4 and later
269
+  * libobs: Fix underlinking by adding libx11
270
+  * image-source: Fix slideshow stopping on last file in random mode
271
+  * obs-nvenc: Abort encoder init if custom options are invalid
272
+  * obs-nvenc: Fix translation string for 4:4:4 unsupported error
273
+  * frontend: Finalize merge of OBSBasic Sources with module sources
274
+  * CI: Update actions and build scripts to use new frontend directory
275
+  * build-aux: Replace UI directory with frontend directory for formatters
276
+  * cmake: Update main CMakeLists file to use refactored frontend
277
+  * frontend: Migrate frontend plugins
278
+  * frontend: Migrate Qt UI files
279
+  * frontend: Migrate OBS Studio data directory
280
+  * frontend: Migrate obs-frontend-api
281
+  * frontend: Migrate CMake files
282
+  * frontend: Migrate Windows updater
283
+  * frontend: Split main application implementation into single files
284
+  * frontend: Prepare main application implementation for splits
285
+  * frontend: Split Qt UI autoconfig implementations into single files
286
+  * frontend: Prepare Qt UI autoconfig wizards for splits
287
+  * frontend: Split Qt UI Widget implementations into single files per class
288
+  * frontend: Prepare Qt UI Widgets for splits
289
+  * frontend: Add renamed Qt UI Widgets
290
+  * frontend: Split UI utility implementation into single files per class
291
+  * frontend: Prepare UI utility files for splits
292
+  * frontend: Add renamed UI utility classes and functions
293
+  * frontend: Prepare sources for merge with OBSBasic modules
294
+  * frontend: Split Settings implementation into single files per C++ class
295
+  * frontend: Add renamed Qt UI dialogs
296
+  * frontend: Prepare Qt Settings UI files for splits
297
+  * frontend: Add renamed Qt Settings UI implementation
298
+  * frontend: Split OAuth implementation into single files per C++ class
299
+  * frontend: Prepare OAuth implementation for splits
300
+  * frontend: Add renamed OAuth implementation
301
+  * frontend: Split OBSImporter into single files per C++ class
302
+  * frontend: Add OBSImporter and importer implementations
303
+  * frontend: Add renamed Qt UI docks
304
+  * frontend: Split Qt UI dialogs into single files per C++ class
305
+  * frontend: Prepare Qt UI dialogs for splits
306
+  * frontend: Split Qt UI component into single file per C++ class
307
+  * frontend: Prepare Qt UI components for splits
308
+  * frontend: Add renamed Qt UI components
309
+  * frontend: Add new frontend directory to gitignore file
310
+  * libobs: Fix deadlock on macOS input method change
311
+  * libobs-opengl: Avoid trying to allocate 0 byte on Linux
312
+  * Revert "WIP"
313
+  * WIP
314
+
315
+-------------------------------------------------------------------
316
 Wed Apr  9 08:48:22 UTC 2025 - darix <packman@nordisch.org>
317
 
318
 - Pull in https://github.com/obsproject/obs-studio/pull/11906.patch
319
obs-studio.spec Changed
25
 
1
@@ -35,7 +35,7 @@
2
 %endif
3
 
4
 Name:           obs-studio
5
-Version:        31.0.3
6
+Version:        31.1.0~beta1
7
 Release:        0
8
 Summary:        A recording/broadcasting program
9
 Group:          Productivity/Multimedia/Video/Editors and Convertors
10
@@ -47,12 +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
 BuildRequires:  update-desktop-files
20
 BuildRequires:  cmake >= 2.8.12
21
+BuildRequires:  extra-cmake-modules
22
 BuildRequires:  pkgconfig(fdk-aac)
23
 BuildRequires:  fdupes
24
 BuildRequires:  fontconfig-devel
25
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
_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-beta1</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">9bd4514b45a8150328190cd6bc3d2dbf00ebfd3b</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~beta1.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
obs-studio
All the results have state excluded/disabled
Refresh


Request History
darix's avatar

darix created request 3 months ago

- Update to version 31.0.3:
* libobs: Update version to 31.0.3
* libobs: Fix duplicating scene with custom size
* obs-websocket: Update version to 5.5.6
* UI: Only emit frontend events for existing scene collection
* rtmp-services: Add "VRCDN - Live" service
* rtmp-services: Update Castr.io ingests
* rtmp-services: Remove defunct servers/services
* mac-avcapture: Clear memory when creating frame struct
* obs-browser: Update version to 2.24.6
* nv-filters: Silence initial load error for Blur
* nv-filters: Remove reset signal for Video effects
* nv-filters: Fix CudaStream used in Video effects
* nv-filters: Reallocate state when resetting AIGS filters
* nv-filters: Fix destruction of Background Blur effect
* nv-filters: Set max effective threshold to 0.95 for Background removal
* obs-nvenc: Fix incorrect CUDA array size allocation
* libobs: Reset reconnecting state when can_reconnect is false
* Revert "libobs: Do not allow reconnect if stop code is OBS_OUTPUT_INVALID_STREAM"
* CI: Use rebuilt CEF to avoid memory allocation crashes on macOS
* win-capture: Add FragPunk to compatibility list
* rtmp-services: Remove unresponsive servers

- Update to version 31.0.2:
* libobs: Update version to 31.0.2
* mac-avcapture: Prevent race condition in source init/deinit
* win-dshow: Fix possible crash if frame width or height is zero
* obs-browser: Update version to 2.24.5
* obs-websocket: Update version to 5.5.5
* obs-nvenc: Fix lookahead depth value logging