Commit Graph
8738 Commits
Author SHA1 Message Date
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 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
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
invalidtask 9815876b45 rtmp-services: Updatge Vaughn Live / iNSTAGIB & Breakers 2020-09-25 04:19:23 -07:00
Jim 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
Exeldro 1c774008b4 deps/media-playback: Fix time at non-standard speeds 2020-09-24 01:15:57 -07:00
Jim 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
Jim 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
Jim 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
Dillon Pentz 5778edd182 Merge pull request #3482 from eropple/mux-service-preset
rtmp-services: Added Mux to services.json
2020-09-19 12:19:17 +12:00
Ed Ropple 12f593d2e4 rtmp-services: Added Mux to services.json
This change adds both Mux's RTMP and RTMPS endpoints to
the list of prefilled services.
2020-09-19 12:18:03 +12:00
jp9000 2963b3b8ed UI: Create output before calling start stream event
Allows modifying the output OBS_FRONTEND_EVENT_STREAMING_STARTING.
2020-09-16 22:25:09 -07:00
jp9000 c0f19b95d5 UI: Do not always have log viewer loaded
This object should not always be created on startup. Instead, only load
it specifically when the user wants to load it.

This fixes a freeze some users were experiencing due to the text widget.
Unfortunately, it is not yet known how that freeze occurred with the log
viewer, so for the time being do not load the log viewer object unless
explicitly created.
2020-09-15 20:29:40 -07:00
Matt Gajownik ccd1ef2bd0 win-dshow: Set current working directory in VirtualCam scripts 2020-09-15 19:58:02 +10:00
Jim 531120da99 Merge pull request #3429 from Nathan-Huckleberry/v4l2-update-fix
linux-v4l2: Fix boolean and menu control types
2020-09-14 21:57:40 -07:00
Nathan-Huckleberry b1bf31dbe7 linux-v4l2: Fix boolean and menu control types
Previously, changing boolean or menu settings would send incorrect
values to the ioctl.  This change fixes the support.
2020-09-14 21:31:30 -07:00
jp9000 5978094fa0 UI: Fix certain buttons turning up white in dark theme
Fixes the browse button in the remux file dialog not having the proper
style applied. This is a bit of a workaround because it is still unknown
why the button was white.
2020-09-14 16:40:46 -07:00