Commit Graph

14983 Commits

Author SHA1 Message Date
Ryan Foster bf902d8702 CI: Fix Steam upload again
After bf48a84d1c, the scheduled nightly
runs began to fail because the filenames of the artifacts had changed.
This would also have caused uploads on tag to fail. Explicitly specify
the asset architecture here. Windows arm64 builds are still ignored for
Steam Upload for now.
2025-06-06 15:51:43 -04:00
Ryan Foster ec041aa145 CI: Unpin actions/upload-artifact to v4.3.5 for windows-patches
We had previously pinned this to avoid a bug in the action. Said bug is
marked fixed as of actions/upload-artifact v4.4.1, so let us unpin this
and use actions/upload-artifact@v4 like we do everywhere else.

References:
 - https://github.com/obsproject/obs-studio/commit/df742ed0323feffa903381c16d81477db332b9b3
 - https://github.com/actions/upload-artifact/releases/tag/v4.4.1
2025-06-06 12:02:15 -04:00
Sebastian Beckmann 1d5bcec80f frontend: Make Mac font base value configurable
Sets the base value to 1.2 times the "displayed" value instead of
forcing 12 (which was 1.2x of the default 10pt). This should look the
same as on other operating systems.
2025-06-05 15:19:49 -04:00
Sebastian Beckmann 3cba029a38 frontend: Recognize OBS appearance setting usage in math statements
The check for whether an OBS appearance setting is used in a theme only
checks whether there is a direct alias to an injected variable, like
`--font_base_value: var(--obsFontScale)`. Math statements like
`--font_base_value: calc(1 + var(--obsFontScale))` would not get
recognized, so if a theme only uses such statements (no direct aliases),
the check would wrongfully conclude that the appearance setting is not
used, which would later lead to the setting being disabled in the UI.
The value however would be injected correctly.

This can be mitigated by checking whether the arguments of the math
operations contain the expression.
2025-06-05 15:19:49 -04:00
Huts, Roman 48feb2c593 obs-ffmpeg: Add B-frame CQP support for AMD AV1 encoder 2025-06-05 14:37:20 -04:00
Ryan Foster bf48a84d1c CI: Explicitly label Windows artifact and asset architecture
Explicitly label the Windows x64 artifacts and assets as such to
disambiguate them from the Windows arm64 artifacts and assets.

Subsequently, make the windows-patches action able to take an
architecture argument which defaults to x64. This will help enable later
usage for Windows arm64.

Lastly, rearrange some of the Windows lines in push.yaml to have a
consistent order.
2025-06-04 16:26:58 -04:00
PatTheMav 8b7331642f frontend: Fix metatype declaration for scenes' SignalContainer
To be used as a QVariant, stream operators need to be provided
as the meta type will otherwise be considered "incomplete". These were
implemented before the frontend reorganization but not migrated as part
of it.
2025-06-04 14:15:11 -04:00
Monsteer 34eb24508b frontend: Fix tab padding for the new appearance options
Add padding variables for tabs to allow the new density option.
2025-06-04 13:49:27 -04:00
shiina424 6a01aab641 frontend/forms: Fix text cut off in multitrack video info 2025-06-04 13:26:33 -04:00
Sebastian Beckmann cabe65cb98 frontend/forms: Fix duplicate UI element name warning
horizontalLayout_5 was already used further up.
2025-06-04 13:03:35 -04:00
Warchamp7 b45f776ee3 frontend: Set minimum width for menubar padding 2025-06-04 12:30:51 -04:00
Warchamp7 86e3e4b358 frontend: Fix appearance settings enabling Apply button 2025-06-04 12:30:51 -04:00
Warchamp7 dd71444069 frontend: Update projector menu for disabled preview 2025-06-04 12:30:51 -04:00
Warchamp7 31bcad96ad frontend: Adjust volume mixer styling on Classic theme 2025-06-04 12:30:51 -04:00
Sebastian Beckmann 8e66418dc9 libobs: Actually mark obs_[add|remove]_data_path as deprecated
3311a7105e was meant to mark these as
deprecated, but put the deprecated marker in the .c file which doesn't
work.
2025-06-02 14:50:19 -04:00
shiina424 b611c58fa9 shared/obs-hook-config: Update graphics hook to 1.8.7 2025-06-02 14:09:44 -04:00
Ryan Foster bbbdb8806b CI: Fix CEF ubuntu-aarch64 build
The v3 build did not have the wrapper built. This fixes that.
2025-06-02 13:47:59 -04:00
Ryan Foster c6a226fe91 CI: Fix Steam Upload
The recent addition of WoA builds caused Steam Upload to fail. Be more
explicit about what file to unzip and what files to remove to get the
Steam Upload for Windows x64 working again.

Note that this does remove all Windows zip files and not just the x64
ones. This is because we don't currently process the WoA files, and the
intent here seems to be to clean up all unnecessary files before running
the actual upload step. This will have to be updated if/when this is
updated to process WoA files.
2025-06-02 13:28:29 -04:00
Ryan Foster 796f04865b CI: Add WoA artifacts to releases
This only adds the build and the PDB zips to releases. We don't build
the installer right now, so we don't have to handle that here yet.
2025-06-02 13:08:19 -04:00
Ryan Foster 9bd4514b45 frontend: Ensure cookie ID is always 16 hexadecimal characters
At a glance, the GenId function looks like it can only return a
16-character hexadecimal string with all characters being [0-9A-F].
However, it seems that it can rarely return a 16-character string that
has one or two space characters at the beginning due to the value of id,
from which the final string is derived, being too low (lower than
1152921504606846976 or 0x1000000000000000) and the printf format
specifier having a width of 16. This results in a string of less than 16
characters that is padded with blank spaces. The end result is a cookie
directory that has leading spaces in its name, which can cause various
issues, such as breaking syncing on OneDrive.

If we set the format specifier to pad with zeroes instead of spaces, the
resulting hexadecimal value is always 16 characters long without spaces.
31.1.0-beta1
2025-05-28 12:42:22 -04:00
Warchamp7 a3884d1375 frontend: Update Dock toolbar styling 2025-05-28 12:22:41 -04:00
PancakeTAS f614064eb4 linux-pipewire: Fix render technique in captures 2025-05-27 14:14:26 -04:00
tytan652 bdebea3d85 frontend: Enable browser hw accel toggle under Linux 2025-05-24 14:20:21 -04:00
Ryan Foster e8d1834f68 libobs: Update version to 31.1.0 2025-05-23 20:55:49 -04:00
Ryan Foster f6c6b3f9d1 build-aux: Update Flatpak modules
* Revert nv-codec-headers to n12.2.72.0
* Update FFmpeg to 7.1.1
2025-05-23 19:33:32 -04:00
Ryan Foster 569d3dfd34 CI: Update deps to 2025-05-23 release
Notable changes:
 * deps.ffmpeg: Update AMF to 1.4.36
 * deps.ffmpeg: Revert nv-codec-headers to n12.2.72.0
 * deps.ffmpeg: Update FFmpeg to 7.1.1
 * deps.qt: Update Qt to 6.8.3 for macOS
 * deps.qt: Update Qt to 6.8.3 for Windows
2025-05-23 18:52:35 -04:00
Ryan Foster 47a81b1c69 obs-websocket: Update version to 5.6.0
New Features:
- Added `obsStudioVersion` field to Identify message [tt2468]
- Added `inputKindCaps` field to input list array [tt2468]
- Added `inputKindCaps` to `CreateInput` event [tt2468]
- Added input deinterlace mode/field order requests [tt2468]

Enhancements:
- Added nlohmann type converters for source deinterlacing [tt2468]

Bug Fixes:
- Avoided unnecessary volumemeters object copy [tt2468]

Other Notes:
- Updated documentation
2025-05-23 18:18:55 -04:00
Ryan Foster 8bf9ec6945 win-capture: Fix crash if cursor size is zero 2025-05-23 13:49:52 -04:00
Warchamp7 910271d21c frontend: Fix spacing of group expand button 2025-05-23 04:25:55 -04:00
Ryan Foster b9cd9f30b1 frontend: Make profile export menu item translatable 2025-05-22 16:55:49 -04:00
shiina424 b4e8fa78fb frontend: Fix multiview translation string 2025-05-22 16:55:49 -04:00
shiina424 16965844dc frontend: Fix button pressed color in Rachni theme 2025-05-22 15:47:05 -04:00
Norihiro Kamae 90d158cf17 libobs/util: Fix coprocess not having environment variables 2025-05-22 15:06:37 -04:00
Warchamp7 32f1b93d72 frontend: Swap preview zoom buttons 2025-05-22 14:21:08 -04:00
shiina424 ae61432c8e frontend: Add missing translations 2025-05-22 13:21:41 -04:00
shiina424 b7bd7c00c5 frontend: Fix visibility and lock checkbox in System theme 2025-05-22 12:48:13 -04:00
Warchamp7 0b7c1f7081 frontend: Explicitly set titlebar item padding 2025-05-21 15:22:44 -04:00
Exeldro cae8d8a3da frontend: Fix canvas remove event 2025-05-21 11:45:14 -04:00
Warchamp7 b46e5bb1c0 frontend: Fix dock title button sizes 2025-05-20 14:40:38 -04:00
Matt Gajownik de61fd5756 CI: Add CEF & enable obs-browser for Windows on ARM 2025-05-20 12:50:41 -04:00
derrod 56f75bd3e0 win-capture: Add SDL_app to list of generic classes 2025-05-19 19:25:56 -04:00
Dennis Sädtler 8e129b171d obs-outputs: Correct FLV composition time offset calculations
The conversion to milliseconds rounds down. Rounding down DTS and CT
values independently results in a cumulative error that results in the
PTS (DTS + CT) being incorrect (off-by-one).
2025-05-19 15:32:11 -04:00
Ed Maste 16cb051a57 libobs-opengl: Promote eglCreateImage failure to LOG_ERROR
Xcomposite window capture is currently failing on FreeBSD, in
gl_egl_create_texture_from_pixmap (for currently unknown reasons).
Increase the log level of the existing log for eglCreateImage failure
from LOG_INFO to LOG_ERROR to provide a hint for anyone who encounters
the same issue in the future.
2025-05-15 16:55:44 -04:00
JiangXsong 4510b93bcb linux-v4l2: Skip decode H264/MJPEG frames during capture 2025-05-15 16:06:27 -04:00
deltamaya caa3d3eb52 CONTRIBUTING.rst: Fix typo 2025-05-14 13:49:54 -04:00
shiina424 91ad044e68 frontend: Add close icon 2025-05-14 13:18:37 -04:00
Ryan Foster 235be8ca3f CI: Update obs-crowdin-sync to latest
This should allow obs-crowdin-sync to work with the UI/frontend folder
structure changes.
2025-05-13 15:24:52 -04:00
tytan652 b65ee89451 frontend: Use winId for Wayland surface in Qt 6.9+
As of Qt 6.9, winId return a wl_surface pointer which allows us to move
away completely from QPlatformNativeInterface.

https://github.com/qt/qtwayland/commit/32f9b4d
2025-05-13 14:40:31 -04:00
Ryan Foster 840ca8e0d9 frontend: Use public QNativeInterface in Qt 6.5+
Using QNativeInterface allows us to move away from most of
QPlatformNativeInterface usage.
2025-05-13 14:40:31 -04:00
Ryan Foster 8b0e9748da obs-browser: Update to 2.25.0
c5a2092 - Add hardware accel support under Linux
be8e590 - Add workaround for hardware accel under X11
00b920f - Blacklist NVIDIA driver for hardware accel under Linux
a0a0edc - Fix support for building with CEF 5060
a54e7c4 - Enable building with CEF 6834
99f9940 - Enable building with CEF 6943
55071a1 - Expand panel shutdown loop to all platforms
0fb70b6 - Add workaround for browser dock hanging
0b13eb9 - Replace Glad usage with newer libobs graphics API
f617868 - Prevent Windows 11 timer resolution throttling to fix audio distortion
5ee8056 - Update version to 2.25.0
2025-05-13 14:02:55 -04:00