Commit Graph

8757 Commits (a94c0e055b879f68bb7b378bfc53fb1412754d9b)

Author SHA1 Message Date
Scratch a94c0e055b UI: Prevent disabling replay buffer if it's active 2020-10-10 17:29:30 -07:00
pkv a1c3fbee64 CI: Add virtualcam GUID to win builds
Adds the virtualcam GUID to win builds on GH actions and azure.

Co-authored-by: PatTheMav <patthemav+github@gmail.com>
2020-10-10 17:28:22 -07:00
PatTheMav 7b96f51995 CI: Remove deprecated use of `set-env` in Github Actions 2020-10-10 17:27:51 -07:00
Joel Bethke 555b41dee7
Merge pull request #3594 from Scrxtchy/docs-event-finish-loading
Docs: Fix Frontend Finish Loading event
2020-10-09 22:56:58 -04:00
Scratch 8dde1fc874 Docs: Fix Frontend Finish Loading event 2020-10-10 13:50:08 +11:00
Joshua Berenhaus f56ab9a38b UI: Set focus back to label after source rename
Fixes obsproject/obs-studio#3465
2020-10-09 14:01:25 -07:00
jp9000 3486c0b363 UI: Fix selecting correct transition when deleting
When deleting a transition, it would sometimes select the one that
replaces it, which could be the separator.  This would cause undefined
behavior.  This fixes it so that it selects either the one that replaces
it (if a valid one replaces it), or the transition at the bottom of the
known list and not the separator.
2020-10-06 08:49:58 -07:00
jp9000 da8547c112 UI: Fix non-default transitions going below add vals 2020-10-06 08:25:03 -07:00
jp9000 755e4f8897 libobs: Update version to 26.0.2 2020-10-06 07:57:55 -07:00
jp9000 18db1c6841 UI/installer: Add avutil/swscale to file in use check 2020-10-06 07:56:10 -07:00
jp9000 e1a0c60735 coreaudio-encoder: Actually fix coreaudio loading
Apparently using LoadLibrary on a full path doesn't work -- you need to
use SetDllDirectory before loading a library.
2020-10-06 07:50:38 -07:00
jp9000 50cbafd711 libobs: Update version to 26.0.1 2020-10-05 09:13:17 -07:00
pkv 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-AfreecaTV 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
jpark37 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
jpark37 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 Lindvall 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 Lindvall 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
Jim 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
windwakr 884c43f8c0 win-capture: Fix mask handling on some color cursors 2020-10-03 05:55:30 -07:00
Ed Maste 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 Porter 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
Jim 638c5055e5
Merge pull request #3533 from benbowler/patch-1
Remove weabook.live from services.json
2020-10-02 07:01:55 -07:00
Scratch 8a1ad18674 UI: Fix tab order for controls dock 2020-10-02 07:01:40 -07:00
PatTheMav eaff7d7da0 CI: Use tag number only for macOS plist when triggered by version tag 2020-10-02 06:29:19 -07:00
Ben Bowler 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 Maste 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
SCG82 0481873ef9 rtmp-services: Set actual integer value of bframes in services 2020-10-02 04:31:26 -07:00
Programatic f79737d479 UI: Implement exit on CTRL + Q for linux
Fixes #3106
2020-10-02 03:40:26 -07:00
PatTheMav 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 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 Gajownik fff7d5b8d4 UI: Always parse log contents for Log Viewer as UTF-8 2020-09-27 02:28:05 -07:00
Kurt Kartaltepe 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 Kartaltepe 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