Richard Stanway
dd519123c6
libobs: Remove excessive null checks
...
libobs functions check for a null obs_core inconsistently. If the core
is null, the functions silently return with no indication of an error to
the API user. This commit removes all null checks in libobs functions
that require libobs to be initialized. For OBS Studio, we are
(hopefully!) using the API properly so this should have no impact.
2020-06-01 15:54:23 +02:00
Ben Torell
699ce4d294
Merge pull request #3001 from cg2121/remove-doxygen-config
...
docs: Remove Doxyfile
2020-05-28 16:42:34 -04:00
Clayton Groeneveld
62f4d69203
docs: Remove Doxyfile
2020-05-28 15:18:22 -05:00
Joel Bethke
62b634a427
Merge pull request #3000 from cg2121/remove-doxygen
...
docs: Remove Doxygen
2020-05-28 15:06:10 -05:00
Clayton Groeneveld
e3a1659134
docs: Remove Doxygen
2020-05-28 15:00:52 -05:00
Colin Edwards
d886dbef51
Merge pull request #2983 from kkartaltepe/formatcode-faster
...
CI: Improve formatcode.sh efficiency
2020-05-28 09:56:10 -05:00
Kurt Kartaltepe
a7ebf47834
CI: Improve formatcode.sh efficiency
...
Batch files into clang-format to prevent needless processes. Now its
twice as fast in real time and uses 4x less resources. The old
implementation is also slower (but pretty close to) running a single
invocation of clang-format on all files.
before
time ./formatcode.sh
real 0m3.860s
user 0m20.975s
sys 0m6.694s
after
time ./formatcode.sh
real 0m1.486s
user 0m5.426s
sys 0m0.203s
2020-05-24 14:13:45 -07:00
Richard Stanway
79981889c6
obs-filters: Misc code cleanups detected by PVS Studio
2020-05-24 18:09:42 +02:00
Richard Stanway
ea7bb7a7cd
obs-ffmpeg: Show friendly error for NV_ENC_ERR_INVALID_VERSION
2020-05-24 14:42:14 +02:00
Jim
4ed3df14a6
Merge pull request #2979 from notr1ch/min-res
...
UI: Set 8 x 8 as minimum selectable resolution
2020-05-23 21:55:44 -07:00
Richard Stanway
0a467085d2
UI: Set 8x8 as minimum selectable resolution
...
Since libobs internally rounds to various powers of 2 to support SSE
functions, resolutions that are too low can get rounded to zero. libobs
will fail to startup with a zero resolution, so if a user accidentally
entered anything that rounded to zero OBS would become unusable without
manual fixing by editing the profile .ini.
2020-05-24 00:48:37 +02:00
Jim
e099fa8110
Merge pull request #2976 from ioangogo/theme-case-fix
...
UI: Theme case fix
2020-05-22 19:58:38 -07:00
Richard Stanway
50e1d17615
win-capture: Better matching of internal UWP windows
...
All strings were treated as partial matches before, which caused a
false positive with any executable beginning with "time", notably
affecting the game "Timelie" which used Timelie.exe.
2020-05-23 01:50:38 +02:00
Richard Stanway
eee7862363
UI: Don't show alpha value for color source
...
This isn't editable by the user, so it doesn't make sense to show it.
2020-05-23 01:15:02 +02:00
Ioan Loosley
06fdd35298
UI: Fixed case to match what the files are named
...
The files on disk are lower-case but QSS refrences them in
upper-case. Windows doesn't report errors as the platform isn't case
sensitive. Error messages are generated and icons not to render on
case sensitive platforms such as Linux and Mac
2020-05-22 23:42:35 +01:00
Jim
0cb0fd7522
Merge pull request #2971 from kkartaltepe/vlc-force
...
CI: Require VLC in CI builds, Fix VLC in CI
2020-05-21 20:20:34 -07:00
Jim
b0e8ba6db8
Merge pull request #2972 from kkartaltepe/cmake-variety-fixes
...
cmake: Fix warnings and normalize variables/errors
2020-05-21 19:40:57 -07:00
Kurt Kartaltepe
de74ea8ad9
CI: Require VLC in CI builds, Fix VLC
...
Previously VLC was downloaded but was skipped since it could not be
found. This sets the VLCPath to ensure it is found.
2020-05-21 19:32:39 -07:00
Kurt Kartaltepe
d928bfd1ea
cmake: Fix warnings and normalize variables/errors
...
As of 3.17 using find_package_handle_standard_args checks that the name
of the FindXXX file and the first argument are the same case.
Some modules used non-standard variables or the old singular variables
instead of plurals. This normalizes variable usage to the new-style.
Some CMakeLists.txt did custom error checking instead of propagating
find_package errors. These were changes to call find_package with
REQUIRED or without QUIET where needed and shortens the custom status
messages. This helps users who want to enable that functionality see
what precisely wasnt found.
2020-05-21 18:45:16 -07:00
Jim
665180350d
Merge pull request #2657 from hselasky/improvement
...
libobs: Implement and use better scaling function for 64-bit integers
2020-05-21 18:07:53 -07:00
Jim
e822b47427
Merge pull request #2442 from WizardCM/windows-extras
...
Windows: Taskbar icon & colour
2020-05-21 17:45:34 -07:00
Jim
9607a9f46e
Merge pull request #2384 from LiamCoal/allow-no-buffering
...
media-playback: Unbuffered Media Source
2020-05-21 17:40:08 -07:00
Jim
770408a7da
Merge pull request #2967 from jpark37/promotion-warnings
...
libobs: Fix potential truncation warnings
2020-05-21 17:36:35 -07:00
Jim
dedc0c01d5
Merge pull request #2964 from jpark37/winrt-dispatcher
...
Set up dispatcher queue for WGC stability
2020-05-21 17:31:30 -07:00
Jim
ad919b47ea
Merge pull request #2921 from jpark37/vulkan-format-fail
...
win-capture: Fail on unsupported Vulkan formats
2020-05-21 17:29:57 -07:00
Jim
c5187aef16
Merge pull request #2908 from jpark37/wgc-minimize
...
Fix WGC minimize handling
2020-05-21 17:29:04 -07:00
jpark37
cd6f56d0ea
libobs: Fix potential truncation warnings
2020-05-21 10:02:03 -07:00
jpark37
5734ab7a9b
libobs: WinRT and dispatcher init on graphics thread
...
Suspected necessary for WGC stability.
2020-05-21 09:25:54 -07:00
jpark37
49bc89f2b2
libobs-winrt: Add dispatcher queue API
...
Suspected necessary for WGC stability.
2020-05-21 09:25:50 -07:00
jp9000
8d6f29ffc7
Revert "Merge pull request #2637 from kkartaltepe/cmake-variety-fixes"
...
This reverts commit d777000a60
, reversing
changes made to c9e5f30a78
.
2020-05-21 00:03:09 -07:00
Jim
d777000a60
Merge pull request #2637 from kkartaltepe/cmake-variety-fixes
...
cmake: Fix warnings and normalize variables/errors
2020-05-20 23:45:25 -07:00
Jim
c9e5f30a78
Merge pull request #2635 from kkartaltepe/install-headers-1
...
UI: Install public headers for frontend-api
2020-05-20 20:39:17 -07:00
Kurt Kartaltepe
51a5be64d8
UI: Install public headers for frontend-api
...
Previously the api header was not targeted for installation and may have
been missing for third party users.
2020-05-20 19:53:14 -07:00
Jim
89ccad8a2b
Merge pull request #2619 from dgcampea/ffmpeg-vaapi
...
Expose more levels and profiles for FFmpeg VAAPI
2020-05-20 19:49:41 -07:00
Jim
cb98f456eb
Merge pull request #2595 from jpark37/vulkan-cleanup
...
Vulkan hook COM clean up, and extension check
2020-05-20 18:20:05 -07:00
Jim
23ee7aebc6
Merge pull request #2589 from jpark37/vulkan-alloc
...
win-capture: Use VkAllocationCallbacks
2020-05-20 18:17:20 -07:00
Jim
0e4dcff490
Merge pull request #2570 from cg2121/auto-config-res
...
UI: Use standard resolutions with auto-config
2020-05-20 18:15:24 -07:00
Jim
04e6a39de9
Merge pull request #2551 from jpark37/cube-lut-enhance
...
Implement CUBE LUT domain properly, tetrahedral interpolation for 3D LUTs
2020-05-20 18:09:56 -07:00
Jim
2b06495d1b
Merge pull request #2539 from WizardCM/clipping-visual-fix
...
UI: Don't clip meters when resizing with no input
2020-05-20 17:35:00 -07:00
Colin Edwards
78a40f0fc4
obs-vst: Fix crash when the blocksize is smaller than frames
2020-05-20 19:17:39 -05:00
Colin Edwards
bfc2063b1a
obs-vst: Compile the vst plugin on linux
2020-05-20 12:32:49 -05:00
Jim
5a6b417fcc
Merge pull request #2506 from Bennik2000/fix_issue_2290
...
Show accurate path in Crash dialog
2020-05-19 23:12:50 -07:00
Bennik2000
5feabfacc8
UI: Fix wrong path in the crash message dialog
...
Closes obsproject/obs-studio#2290
2020-05-19 22:31:06 -07:00
Jim
f1b97b78d6
Merge pull request #2665 from pkviet/srtfix3
...
obs-ffmpeg: Fix srt output
2020-05-19 16:40:25 -07:00
pkv
697563f4db
UI: Swap to new srt output
...
Redirect non rtmp streaming to ffmpeg-mux instead of previous
ffmpeg-encoded-output which has been removed.
2020-05-19 16:15:41 -07:00
pkv
91418e901c
obs-ffmpeg: Use obs-ffmpeg-mux for mpegts network output
...
This replaces the ffmpeg-encoded-output which had serious issues
(missing headers, muxing issues with non compliant mpegts streams) with
an output grafted from obs-ffmpeg-mux.
2020-05-19 16:15:41 -07:00
jp9000
c165798959
obs-ffmpeg: Move file read error to separate function
...
Moves the code that generates a file read error message to its own
function for the sake of cleaning things up a bit.
2020-05-19 16:10:06 -07:00
pkv
c8ff234255
obs-ffmpeg: Enable mpegts network URL for ffmpeg-mux
2020-05-18 22:18:23 -07:00
Jim
efa9ee0f3d
Merge pull request #2947 from cg2121/script-tabs
...
UI: Hide script tabs if no python settings
2020-05-18 13:04:54 -07:00
Clayton Groeneveld
e9d6847fb6
UI: Hide script tabs if no python settings
2020-05-18 02:50:28 -05:00