11518 Commits

Author SHA1 Message Date
Richard Stanway
abedc7d08b UI: Fix use-after-free in properties view 2022-08-17 05:30:57 -07:00
jpark37
6494d46111 libobs: Use nal_ref_idc for H.264 priority
H.264 spec only mentions zero/non-zero, but RFC 6184 uses 0/1/2/3 values
for prioritization. Go back to reading packet field for priority.
2022-08-17 05:30:16 -07:00
Matt Gajownik
591ba518dc plugins: Update translations from Crowdin 2022-08-17 14:27:34 +10:00
Translation Updater
4aaa07f93d Update translations from Crowdin 2022-08-17 04:22:50 +00:00
jpark37
7e6a2ccdec obs-ffmpeg: Prevent invalid NVENC combinations
Don't want to silently generate lossy video.
2022-08-16 21:14:36 -07:00
Ed Maste
91f986ec99 linux-v4l2: Check udev fd events
udev_event_thread calls poll with two fds: the udev fd, and an eventfd
used for shutdown.  On FreeBSD we were hanging on shutdown in
udev_monitor_receive_device after receiving the eventfd event.

Now, if the udev fd reports no events skip the
udev_monitor_receive_device call.

At shutdown the loop will exit via os_event_try().
2022-08-16 20:46:06 -07:00
Georges Basile Stavracas Neto
87b5f17b2f UI: Update windowaudio.svg
Update it to match the style of the rest of the icon theme.
2022-08-16 22:32:24 -03:00
Georges Basile Stavracas Neto
3ad4e5a251 UI: Update icons for interact and refresh 2022-08-16 22:32:24 -03:00
Ed Maste
25d308c727 libobs: Read /etc/os-release on FreeBSD
Previously FreeBSD had an optional port that installed /etc/os-release
so it was already available on many FreeBSD systems, but os-release is
now provided by the base system and will be universally available.
2022-08-16 18:40:48 -04:00
Ro
85f2888048
rtmp-services: Update Switchboard Live service (#7104)
Updated servers and recommend settings.
2022-08-16 23:12:07 +02:00
Ed Maste
ef6828d31b CI: Build ALSA support on FreeBSD
FreeBSD provides an ALSA compatibility library.  Install it, and leave
ALSA support enabled as default.
2022-08-16 14:48:54 -04:00
Ed Maste
c3097f4ee9 aja: Correct typos in README.md 2022-08-16 14:08:21 -04:00
jpark37
4ffedf877a obs-ffmpeg: Block 8-bit HDR for AV1 encoders
Don't want to silently generate lossy video.
2022-08-16 07:39:52 -07:00
jpark37
175093b26b obs-x264: Block 10-bit formats
Don't want to silently generate 8-bit video.
2022-08-16 07:39:23 -07:00
jpark37
8ca35e4e10 obs-filters: Don't allow HDR max below 5 nits
That's the lower limit of max_display_mastering_luminance in the spec.
2022-08-16 07:39:04 -07:00
jpark37
62165b42d7 obs-qsv11: Replace CRITICAL_SECTION with SRWLOCK
Fixes initialize/destroy pattern; also slightly more performant.
2022-08-16 07:38:43 -07:00
jpark37
7406f04851 obs-qsv11: Prevent 8-bit HDR, and 10-bit anything
Don't want to silently generate lossy video.
2022-08-16 07:38:07 -07:00
jpark37
eec66e10e3 obs-ffmpeg: Prevent invalid AMF combinations
Don't want to silently generate lossy video.
2022-08-16 07:37:36 -07:00
jpark37
690ba952de obs-ffmpeg: Fix leaks in AMF with unique_ptr 2022-08-16 07:37:36 -07:00
pkv
3191c73e16 UI: Fix theme leak
This fixes leaks when loading and switching themes.

Signed-off-by: pkv <pkv@obsproject.com>
2022-08-16 07:36:18 -07:00
Ed Maste
405ee4255b CI: Remove UNIX_STRUCTURE from FreeBSD Cirrus-CI config
UNIX_STRUCTURE was deprecated in df94b0207563.
2022-08-16 15:22:46 +02:00
tytan652
fe889ec28e UI: Fix settings properties view background on Yami variants 2022-08-15 19:07:19 -03:00
tytan652
0f63967ee0 UI: Fix grid mode spacing with Yami variants 2022-08-15 19:07:19 -03:00
tytan652
29d40bb7fb UI/themes: Disable QDialog button icons on Yami new variants 2022-08-15 19:07:19 -03:00
cg2121
92624565a6 UI: Fix Yami list widget hover color
With Yami, when hovering a list widget (ie. scenes/settings), the
background wouldn't change like the sources list.
2022-08-15 18:37:40 -03:00
gxalpha
b7e7bf192c UI/themes: Add macOS separator fix to Dark and System 2022-08-15 18:04:14 -03:00
Warchamp7
66e01d2c5d UI: Add Yami variants for Acri and Rachni 2022-08-15 18:01:36 -03:00
Warchamp7
99363e2137 UI: Add Yami greyscale variant 2022-08-15 18:01:36 -03:00
Warchamp7
a1efc73e6a UI: Add Yami light variant 2022-08-15 18:01:36 -03:00
shiina424
43abfafe5a UI: Add missing Icon in System theme 2022-08-15 17:54:04 -03:00
Kurt Kartaltepe
f788e9f6b7 linux-v4l2: Add eventfd to signal udev on shutdown
Currently we use signals based on os_event's but the udev code blocks in
a 1s select (now poll) that cannot be signalled without an FD. This adds
an extra eventfd which will be signalled along with the os_event to
trigger the poll.

Also switches from select to poll to avoid issues with large fd values.
2022-08-15 16:58:09 -03:00
gxalpha
bad54448ce
libobs: Fix format specifier warning 2022-08-14 23:45:34 +02:00
Jim
7b76619c43 UI: Fix increment check for what's new (again)
Increment checks for the what's new file were not working as intended;
old stored increments would unintentionally pass to newer versions if
the newer versions did not explicitly start up with a whatsnew.json file
that had their version. The previous attempt to fix made it so that it
used a completely separate global.ini entry when a matching entry was
found. However, this entry did not take into account the beta or release
candidate number of the current build. This fixes it to bake in the
beta/rc number into the entry.
2022-08-14 01:06:53 -07:00
Jim
c63d2f9852 UI: Remove #if expression for what's new message
This #if test was intended to not show messages for new users, but
instead just made it so messages wouldn't show at all if the entry
wasn't previously set. Plus the expression was bad anyway.

This was causing betas and release candidates to not show what's new
messages when they should have been.

Just remove this code as it's silly to have at this point anyway. All
users should see what's new messages if they open the program, even if
for the first time.
2022-08-14 01:06:53 -07:00
derrod
9140c260ee UI: Add Whats New for macOS/Linux
- Requires MbedTLS on Linux
- Enabled by default on macOS and Flatpak
- Enabled on linux via ENABLE_WHATSNEW_LINUX
- Enables compilation of blake2 on Linux/macOS
- Makes header name check also work with lowercase header
- Changes WahtsNew to be only enabled when browser panels are available
2022-08-13 16:46:48 -07:00
Kristian Ollikainen
9216a62edc win-dshow: Move invalid GUID warning 2022-08-13 16:41:46 -07:00
Kristian Ollikainen
4eb5e65122 win-dshow: Fix building without Virtual Camera 2022-08-13 16:41:46 -07:00
Vainock
28057f2db1 README.rst: Update url of translation guide
Use the wiki instead of the forums.
2022-08-13 16:28:36 -07:00
Vainock
21ce2330d9 README.rst: Update Crowdin Badge url
Use the officially provided url from crowdin.net.
2022-08-13 16:28:36 -07:00
derrod
b7df5d2e15 CI: Switch to included Xcode 14 Beta 2022-08-13 16:24:09 -07:00
cg2121
5aac910659 UI: Fix grid mode spacing with Yami
In the scenes grid mode, the buttons would be squished together in
the Yami theme.
2022-08-13 16:22:02 -07:00
cg2121
5d803058b4 UI: Fix settings properties view background
In the Yami theme, the background color in the properties view in the
settings dialog would be incorrect.
2022-08-13 16:02:00 -07:00
wang.shaohui
7eb46d50b7 win-capture: Fix memory leak in dc-capture.c 2022-08-13 01:50:38 -07:00
Ed Maste
cbd35d41f5 CI: Update FreeBSD Cirrus-CI configuration
- Clone submodules too (for obs-websocket)
- Disable ALSA and AJA
- Add new deps (srt, librist, and libpci packages)
- Bump OS to most recent release, FreeBSD 13.1
2022-08-13 01:36:41 -07:00
Norihiro Kamae
e46e0f8a3e UI: Fix memory leak when virtualcam fails to start 2022-08-13 01:35:45 -07:00
Chip Bradford
eb1cc8d076 libobs: Fix gpu thread termination when additional video mixes are added 2022-08-13 01:33:34 -07:00
Chip Bradford
e7ebe99049 UI: Fix crash when pausing/unpausing recording 2022-08-13 01:33:07 -07:00
jpark37
37621f0fdd obs-filters: Fix filter color space queries
Need to ask target instead of parent.
2022-08-13 01:32:42 -07:00
jpark37
64ef93a29d libobs: Fix filter color space passthrough
Need to chain against target instead of parent.
2022-08-13 01:32:42 -07:00
gxalpha
a9b83c7ffd mac-virtualcam: Don't convert color space when converting color format
Converting the color space was likely accidental as it isn't explicitly
set. Unfortunately, not setting it means that it gets set to the
default, which is Rec. 709 and thus a conversion takes place when having
any other space. This conversion leads to a massive performance penalty
that isn't necessary.
2022-08-13 01:32:14 -07:00