We truncated the diff of some files because they were too big.
If you want to see the full diff for every file, click here.
Changes of Revision 122
obs-studio.changes
Changed
x
1
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
obs-studio.spec
Changed
37
1
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
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
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
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
19
return true;
20
}
21
22
---
23
-2.31.1
24
-
25
11906.patch
Deleted
114
1
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
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
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
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
2
+0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
3
+libx264-optional.patch
4
+ffmpeg-x11-linking.patch
5