Zhao Zhili
255c4096a8
cmake: check empty OBS_MODULE_LIST for macOS
2022-04-02 21:46:52 +11:00
Zhao Zhili
df4315103f
cmake: Fix configure error on macOS when -DENABLE_SCRIPTING=OFF
2022-04-02 21:46:52 +11:00
Vainock
6ec7ebcb89
CI: Update Crowdin Sync to 0.2.0
2022-04-02 12:47:27 +11:00
Richard Stanway
a8ecf3c8f2
UI: Fix display affinity logic when re-applying
...
The old behavior toggled display affinity every time the window was
updated instead of applying it consistently.
2022-03-31 17:23:53 +02:00
Patrick Heyer
3c1d7aeb86
Merge pull request #6245 from PatTheMav/cmake-resource-fix
...
win-capture: Fix added resources not properly copied to rundir
2022-03-31 11:52:50 +02:00
Patrick Heyer
dea8817f62
Merge pull request #6243 from PatTheMav/cef-finder-fix
...
cmake: Fix usage of relative paths for CEF finder
2022-03-31 11:52:11 +02:00
PatTheMav
d42c98fa22
win-capture: Fix added resources not properly copied to rundir
...
The `add_target_resource` function uses unnecessary path components
when copying files to the rundir, resulting in files added that way
not to end up where OBS expects them to.
The generated binaries created by sub-targets also need to be copied
as part of `win-capture`'s data files, which was easy to fix as the
target exists before CMake switches into the subdirectories.
2022-03-30 11:10:54 +02:00
striphat-dev
8360893730
rtmp-services: Update Stripchat streaming service
2022-03-29 19:55:44 +02:00
PatTheMav
2d70650a1e
cmake: Fix usage of relative paths for CEF finder
...
To enable relative paths for `CEF_ROOT_DIR`, the variable needs to be
explicitly set as `PATH` type to work.
2022-03-29 10:05:17 +02:00
PatTheMav
a6532fc176
cmake: Fix obs-ffmpeg-mux missing rpath entries for libobs in build tree
...
When using `install`, CMake will fix up a binary's rpath entries
automatically. As `install` is also used to copy all build artifacts
into a common runtime directory, this will lead to independent binaries
such as "obs-ffmpeg-mux" to be fixed up to run within a fully portable
app bundle.
Yet during development, the app bundle is not fully portable, so rpath
entries to e.g. libobs need to be retained. Using CMake's
`install PROGRAMS` variant will achieve just that.
2022-03-28 14:54:58 -07:00
PatTheMav
ff916e5f2c
CI: Fix Windows build scripts relying on localized architecture string
...
Current build scripts rely on comparing a architecture string provided
by the OS which will be localised in certain languages.
This change uses a boolean 64-bit flag to use script-defined identifiers
to avoid this issue.
2022-03-28 15:38:03 -04:00
tytan652
c7bf564015
cmake: Fix dylibbundler path for case-sensitive partition
2022-03-28 13:44:10 -04:00
jp9000
525c535459
libobs: Update version to 27.2.4
2022-03-27 16:28:40 -07:00
mvji
c62dc7ffee
obs-ffmpeg : use I422 for YUV422P input format
...
Avoid conversion to UYVY422 for 422P video input files (like dnxhd or xdcam422)
2022-03-26 21:05:45 -07:00
PatTheMav
bc2192d660
CI: Add shortened commit hashes to generated artifacts
2022-03-27 09:20:00 +11:00
jpark37
a014137ff1
obs-filters: Fix invalid scale filter combination
...
Undistort checkbox should be ignored if bilinear lowres effect is used.
2022-03-26 13:01:01 -07:00
jpark37
525f964b3d
libobs: Add color space management
...
This provides the framework for automatically compositing SDR and HDR
sources together. Source will need to leverage the new
video_get_color_space to opt into HDR support.
2022-03-26 13:00:34 -07:00
jpark37
a8bc994f07
libobs: Add color spaces to scale shaders
2022-03-26 13:00:34 -07:00
jpark37
f0f0cb3038
libobs: Fix stale active_copy_surfaces entries
2022-03-26 10:06:21 -07:00
PatTheMav
aae3a6a466
cmake: Fix diverging prefix padding for OBS status outputs
...
Status output related to OBS configuration is prefixed with the string
"OBS" and added padding for enabled and disabled features. This padding
was not aligned between platforms.
By moving the padding and prefix decoration into its own function,
both elements are controlled in a single place. CMake scripts were
changed to use this new function `obs_status` instead of using CMake's
`message` function directly.
2022-03-26 09:44:23 -04:00
gxalpha
ee781bfa24
UI: Remove unneeded QProxyStyle include
2022-03-26 17:57:14 +11:00
Matt Gajownik
70924da18d
CI: Don't ignore deps directory when formatting
...
Also add a .clang-format ignore file to the libff dependency.
2022-03-25 19:41:03 +11:00
Exeldro
de1d806e83
UI: Add Copy/Paste for source visibility transitions
2022-03-24 23:51:10 -07:00
Exeldro
1e242d3630
libobs: Unload show/hide transition on load if none
...
Fixes an issue where a scene item's show/hide transition would stick
around if there was no show/hide transition in the loaded data
2022-03-24 23:51:10 -07:00
jp9000
4685276d06
libobs: Refactor small bit of code
2022-03-24 23:03:52 -07:00
jp9000
e236a16715
libobs: Refactor hide/show transition functions
...
Having two separate functions for each hide/show transition action is
silly and makes code awful.
2022-03-24 22:32:41 -07:00
jp9000
5e2c757cd1
libobs/util: Remove deprecation visibility from swig
2022-03-24 22:32:19 -07:00
jp9000
601187d0f6
deps/obs-scripting: Fix code formatting
...
Somehow this was incorrectly formatted at some point.
2022-03-24 22:30:52 -07:00
jpark37
692ca7efce
libobs: Add Rec. 2020 video_colorspace enum values
...
One for PQ, and one for HLG. Including transfer function as part of the
color space simplifies logic by avoid invalid combinations.
2022-03-24 20:56:19 -07:00
Norihiro Kamae
ba68eda590
obs-ffmpeg: Use av_packet_alloc instead of av_init_packet
...
sizeof(AVPacket) being a part of the public ABI is deprecated. once
av_init_packet() is removed, new packets will only be able to be
allocated with av_packet_alloc().
In ffmpeg-mux, ffmpeg-vaapi, and obs-ffmpeg-nvenc, AVPacket is allocated
at the initialization to avoid frequent allocation of AVPacket.
Includes changes to win-dshow.
2022-03-24 17:19:40 -07:00
Richard Stanway
85addc3dac
UI, file-updater, rtmp-services: Enable curl ALPN support
...
In the years since this code was added, ALPN is now widely supported,
and NPN is being removed entirely in the latest version of nginx. It's
time to start using ALPN!
2022-03-24 17:10:01 -07:00
Jim
8d15aea69d
Merge pull request #6146 from jpark37/hdr-main-preview
...
libobs, UI: Add support for color spaces
2022-03-24 16:56:59 -07:00
Monsteer
8c0603e991
UI: Add missing previousIcon in Rachni theme
...
The previous icon for the media icons set in the Rachni theme is missing
in the theme's .qss file.
2022-03-24 14:18:14 -04:00
jpark37
87ab39c412
libobs: Render main texture for active color space
...
Preview will draw SDR white luminance from settings (default 300 nits)
when displayed on an HDR monitor rather than CCCS 80 nits.
2022-03-23 22:35:27 -07:00
jpark37
5748ab7e0d
UI: Wire up WM_MOVE and WM_DISPLAYCHANGE events
2022-03-23 22:35:26 -07:00
jpark37
01c0486aad
libobs: Add obs_display_update_color_space
2022-03-23 22:35:26 -07:00
jpark37
cd22df09c9
libobs, UI: Add SDR white nits option
2022-03-23 22:35:26 -07:00
jpark37
eccde48926
libobs/graphics: Add gs_is_monitor_hdr
...
Only Windows is implemented for now. Mac/Linux return false for now.
2022-03-23 22:35:26 -07:00
jpark37
abddfead2f
libobs/graphics: Add color space support
2022-03-23 22:35:26 -07:00
Ryan Foster
ae3570a741
rtmp-services: Fix file mode
...
Revert file mode changes from 99afbc687e .
2022-03-23 12:44:49 -04:00
vasuais
99afbc687e
rtmp-services: Update SharePlay.tv recommendations
2022-03-23 09:16:23 -07:00
jpark37
6f8b364565
libobs: Add OBS_COUNTOF for array count
2022-03-23 09:15:25 -07:00
derrod
fd27ead2a7
cmake: Move obspython.py to Resources on macOS
2022-03-23 14:56:55 +01:00
derrod and PatTheMav
178ec005bd
obs-scripting: Add Resources to python path on macOS
...
Also changes indentation of this block back to tabs to be consistent
with the rest of the file
Co-authored-by: PatTheMav <patthemav+github@gmail.com >
2022-03-23 14:56:55 +01:00
tytan652
ebd6520f25
flatpak: Reenable AJA and JACK plugins
2022-03-23 10:36:16 -03:00
tytan652
2a0e3c0c9b
UI: Save custom browser docks with docks data
...
When saving custom browser docks, docks properties are used rather
than actions properties.
2022-03-22 22:24:23 -07:00
tytan652
b4b1b4c5d3
UI: Remove UUID from ExtraBrowsersModel
...
This attribute is completely unused.
2022-03-22 22:24:23 -07:00
tytan652
ed8ed0ce3f
UI: Fix custom browser docks UUID
...
When those docks get updated, an empty string is applied to the UUID
property.
2022-03-22 22:24:23 -07:00
jpark37
dd86425559
libobs: Add array check for deinterlace logic
...
Seeing a rare assert on startup for a media source with deinterlacing
already on. Tested with Yadif 2x. Repro is maybe 10% of OBS launches?
2022-03-22 22:22:50 -07:00
Patrick Heyer
13f2d7925f
Merge pull request #6190 from PatTheMav/cmake-pdb-branch
...
CMake: Fix PDB install directory for library installation
2022-03-22 17:10:27 +01:00