8746 Commits
Author SHA1 Message Date
jp9000 50cbafd711 libobs: Update version to 26.0.1 26.0.1 2020-10-05 09:13:17 -07:00
pkvandJim 11602bc933 coreaudio-encoder: Fix path on windows
The path of coreaudio dll has changed in current versions of iTunes on
windows.  The patch fixes the issue while keeping compatibility with
previous path.

Fixes obsproject/obs-studio#3503
2020-10-05 03:39:33 -07:00
jp9000 1b5a331c56 coreaudio-encoder: Refactor windows import
Refactors the windows import library section so that it uses a list, and
remove a slightly unnecessary macro in release_lib
2020-10-05 03:39:33 -07:00
karenkim-AfreecaTVandJim 3c058e1c0e rtmp-services: Update AfreecaTV 2020-10-04 23:44:01 -07:00
jp9000 86e04d00ec Revert "UI: Delete existing fullscreen projector"
This reverts commit 01fe9c990c.
2020-10-04 22:32:17 -07:00
jp9000 c66fa09b46 win-capture: Update hook version 2020-10-04 11:41:19 -07:00
jp9000 7a2d64d00a win-dshow: Fix decoupled audio with EVGA/magewell
EVGA/magewell devices seem to use the default system drivers rather than
custom drivers, which causes their audio to become decoupled and treated
as completely separate devices rather than as an audio pin on the video
device. Basically, this would cause those devices to not have audio by
default, and force the user to have to manually select the audio, which
is bad user experience.

We already had a workaround for this with elgato devices, so expand that
code to become a whitelist of devices, and include EVGA/magewell
devices.
2020-10-04 10:07:12 -07:00
jpark37andJim d4a607a3c2 libobs-winrt: Use native cursor draw for WGC
We were performing a custom cursor draw for WGC, which we attempted
because we thought we could bring back hardware cursor responsiveness,
but MS says that it won't. Since the custom draw was bugged to cause
black screens anyway, just use the native cursor draw for now.
2020-10-03 22:41:47 -07:00
jpark37andJim 9ba768837b win-capture: Violate Vulkan spec for compatibility
Rivatuner Statistics Server calls vkGetInstanceProcAddr for
vkCreateDevice with a NULL instance. According to spec, this should
return NULL, but RTSS will dereference this and crash.

This change returns function pointers for every intercepted function
regardless of instance, which is enough to keep RTSS alive.
2020-10-03 22:41:11 -07:00
Eric LindvallandJim 4f87337646 obs-ffmpeg: Add error detection to ffmpeg-mux
ffmpeg-mux does not notice if ffmpeg returns an error from
av_interleaved_write_frame() which means that OBS never knows if there is a
problem in ffmpeg.

This is the biggest issue for cases like srt:// or tcp:// streams that can
regularly fail. Without this change OBS never knows that something went wrong.
2020-10-03 22:26:52 -07:00
Eric LindvallandJim 3d1c13210a obs-ffmpeg: Signal a remote disconnect for network streams from ffmpeg-mux
If using ffmpeg-mux to send a network stream, signal a disconnect error code
on error to allow reconnections to take place.
2020-10-03 22:17:02 -07:00
JimandGitHub 149550392b Revert "mac-capture: show actual windows in Window Capture sources" 2020-10-03 14:23:54 -07:00
jp9000 f4f2d383b1 UI: Greatly improve main window repaint performance
The VolumeMeter widgets were apparently being drawn as transparent
widgets, which meant that it was necessary to redraw everything under
the widgets in order to properly draw the widgets, so the entire mixer
section of the window was being redrawn every time the meters updated.
This caused a significant perf hit when the only thing wanted/desired
was just to update the meters. This was more noticeable after changing
the audio meter update rate to 60hz from 30hz.

The fix is to simply mark them as opaque widgets, and paint the
background ourselves rather than rely on what's under the window. CPU
perf for painting the main window has been vastly improved because of
this; CPU usage of Qt in the main window is now reduced by at least half
of what it was, if not more.
2020-10-03 08:27:01 -07:00
windwakrandJim 884c43f8c0 win-capture: Fix mask handling on some color cursors 2020-10-03 05:55:30 -07:00
Ed MasteandJim da84d82acc CI: Fix swig dependency on FreeBSD
FreeBSD removed the swig30 package and replaced it with just swig,
currently version 4.0:
https://bugs.freebsd.org/246613
2020-10-03 05:38:46 -07:00
Daniel Porterandjp9000 f96b6dfeed cmake: Fix finding libfdk header path
A generally accepted path for DepsPath or LibfdkPath is the parent
directory that includes the 'bin' and 'include' directories. This fix
ensures FindLibfdk.cmake acts like other cmake helper scripts.

Closes obsproject/obs-studio#3474
2020-10-02 09:26:00 -07:00
JimandGitHub 638c5055e5 Merge pull request #3533 from benbowler/patch-1
Remove weabook.live from services.json
2020-10-02 07:01:55 -07:00
ScratchandJim 8a1ad18674 UI: Fix tab order for controls dock 2020-10-02 07:01:40 -07:00
PatTheMavandJim eaff7d7da0 CI: Use tag number only for macOS plist when triggered by version tag 2020-10-02 06:29:19 -07:00
Ben Bowlerandjp9000 0f14d2217d rtmp-services: Remove weabook.live
It seems like weabook.live is no longer a live streaming provider.
2020-10-02 06:27:39 -07:00
Ed MasteandJim 92076f5c8c UI: Skip ChromeOS test on FreeBSD
As with Windows and macOS there's no need to check for ChromeOS on
FreeBSD.
2020-10-02 06:27:04 -07:00
SCG82andJim 0481873ef9 rtmp-services: Set actual integer value of bframes in services 2020-10-02 04:31:26 -07:00
ProgramaticandJim f79737d479 UI: Implement exit on CTRL + Q for linux
Fixes #3106
2020-10-02 03:40:26 -07:00
PatTheMavandJim cab32e7e67 UI: Disable QT's implicit colourspace conversion on macOS
Fixes issues as described in https://bugreports.qt.io/browse/QTBUG-47660
and halves CPU usage of OBS' UI by about 40-50%.
2020-10-01 23:54:58 -07:00
jp9000 6460579fb6 UI: Move "Add [transition]" to bottom of combo
Instead of having "Add [transition]" at the top of the combo box
blocking out the values, move the add values to the bottom of the box
instead for slightly better UX.
2020-09-30 23:57:49 -07:00
jp9000 4a9bb86916 UI/updater: Fix cmd prompts popping up registering vcam
Fixes an issue where command prompts would pop up when registering the
virtual camera in the auto-updater
2020-09-29 04:36:32 -07:00
jp9000 3c54ea3eeb UI/updater: Fix race condition
Fixes a race condition where a hash value could be overwritten from
different threads, causing corruption
2020-09-29 04:35:43 -07:00
jp9000 e24aaa0b58 libobs: Update version to 26.0.0 26.0.0 2020-09-28 04:41:22 -07:00
Gol-D-Ace 1a3ce894d1 Fix translator names 2020-09-28 09:30:09 +02:00
Gol-D-Ace c66ebde080 Update translations from Crowdin 2020-09-27 23:07:27 +02:00
Richard Stanway 76fcfa9ed3 UI: Clarify system tray code
If the tray is disabled in settings, we no longer allow the command line
parameter to override it and create a tray icon regardless. This matches
the behavior in the UI, where "minimize to tray on startup" becomes
unavailable if the "tray enabled" setting is unselected.
2020-09-27 19:37:53 +02:00
Richard Stanway e8c3ad1482 UI: Fix formatting 2020-09-27 19:18:02 +02:00
Richard Stanway 7d3fa7315a UI: Miscellaneous code cleanups
Remove a few unused variables and other minor changes. No functional
differences. Issues detected by PVS Studio.
2020-09-27 19:03:21 +02:00
jp9000 1a14304784 UI: Fix "Add [transition]" not being translated
This is a temporary fix as to not to delay the release, and will need to
be replaced with AddValue in future versions.
2020-09-27 05:31:55 -07:00
jp9000 4e92ffe135 UI: Add translation for "Add [x]" 2020-09-27 05:31:55 -07:00
Matt GajownikandJim fff7d5b8d4 UI: Always parse log contents for Log Viewer as UTF-8 2020-09-27 02:28:05 -07:00
Kurt KartaltepeandJim be7dcb8bf6 v4l2-linux: Fix fourcc order
v4l2 pixfmt fourcc's are always stored little-endian.
ref: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/vidioc-enum-fmt.html?highlight=vidioc_enum_fmt
2020-09-27 00:08:48 -07:00
Kurt KartaltepeandJim 0cad2abbbe v4l2-linux: Fix nv12 linesize
unlike other YUV based formats nv12 chroma plane has the same padding as
the luma plane.
ref: https://01.org/linuxgraphics/gfx-docs/drm/media/uapi/v4l/pixfmt-nv12.html
2020-09-27 00:07:37 -07:00
jp9000 e5d8f345fc UI: Fix screenshots preventing auto-remux
Due to the fact that a global was used on GenerateSpecifiedFilename to
save the remux file name, when a screenshot was made, it would overwrite
the filename being remuxed, because screenshots use the same function to
generate filenames as well.

This solves that problem by removing the global and the changes to
GeneratedSpecifiedFilename, and isolating that to the output handler.

Coincidentally, this bug probably also happened with replay buffers
under certain circumstances.

Fixes obsproject/obs-studio#3497
Closes obsproject/obs-studio#3498
2020-09-26 08:19:27 -07:00
Richard Stanway d4ce406138 UI: Use correct APPDATA for installer 2020-09-26 01:41:19 +02:00
Richard Stanway fc18213b37 UI: Various installer script updates
Remove support for Vista as the platform update is no longer available
from Microsoft. Allows retrying certain error conditions such as when
OBS is already running. Moved in-use file checks to after the install
directory is selected. Added some comments.
2020-09-26 01:35:09 +02:00
invalidtaskandJim 9815876b45 rtmp-services: Updatge Vaughn Live / iNSTAGIB & Breakers 2020-09-25 04:19:23 -07:00
JimandGitHub 0b163018b3 Merge pull request #3490 from exeldro/media_speed_duration
deps/media-playback: Fix current time at not standard speed
2020-09-24 02:16:46 -07:00
Exeldroandjp9000 1c774008b4 deps/media-playback: Fix time at non-standard speeds 2020-09-24 01:15:57 -07:00
JimandGitHub 4c8ebc741c Merge pull request #3488 from cg2121/xdisplay-clear
frontend-tools: Free xdisplay on Linux auto scene switcher
2020-09-23 16:53:24 -07:00
jp9000 e1447c22db libobs: Check if output active when setting encoders
This fixes an issue where someone might mistakenly try to change an
audio/video encoder before the output is complete.
2020-09-23 14:52:15 -07:00
Clayton Groeneveld 13d43e9782 frontend-tools: Free xdisplay on Linux auto scene switcher
The xdisplay in the Linux scene switcher was never closed
when OBS exits.
2020-09-20 13:09:48 -05:00
jp9000 e9a0b41795 UI: Add file-in-use check for virtualcam module dlls 2020-09-19 23:48:47 -07:00
JimandGitHub 890d325d93 Merge pull request #3388 from timmiehaha/issue-3146
mac-capture: show actual windows in Window Capture sources
26.0.0-rc3
2020-09-18 21:50:45 -07:00
JimandGitHub 43bdf9d516 Merge pull request #3473 from WizardCM/fix-vcam-scripts
win-dshow: Set current working directory in VirtualCam scripts
2020-09-18 18:56:56 -07:00