8544 Commits

Author SHA1 Message Date
Ka Ho Ng
a1e99d7903 oss-audio: Improve /dev/sndstat parsing on FreeBSD
This commit targets FreeBSD and potentially DragonFly BSD. The commit
fixes issue parsing /dev/sndstat when hw.snd.verbose is greater than 0.
Besides, the commit also adds support for audio devices created by
user space daemons, such as virtual_oss.
2020-08-18 22:54:09 +08:00
makise-homura
543a3767c7 obs-x264: Discard excess warning for e2k 2020-08-18 16:52:05 +03:00
makise-homura
006443b8c3 cmake: Discard excess warnings for e2k 2020-08-18 16:50:46 +03:00
makise-homura
ad1978a31f cmake: Enable SIMD for Elbrus architecture 2020-08-18 15:57:05 +03:00
makise-homura
d7e36f9f5b cmake: Conditionalize -fopenmp-simd 2020-08-18 15:50:50 +03:00
Jim
5803504c36
Merge pull request #3261 from e00E/undefined-behavior-utf8
libobs: Fix undefined behavior
2020-08-17 19:23:21 -07:00
Jim
4b2e9e9c96
Merge pull request #3247 from JohannMG/wizard-mac-fix
UI: Mac fix — remove wizard background padding
2020-08-17 09:22:28 -07:00
Jim
53b65bb5fd
Merge pull request #3245 from e00E/fix-defer-update
libobs: Fix deferred update sometimes using stale data
2020-08-17 08:03:21 -07:00
Colin Edwards
fddbbe259d UI: Source Toolbar
The source toolbar allows quick and easy access to properties and
filers, and shows common properties/features of a source type.  For
example, when you select a media source, VLC source, or the slideshow
source, you'll get media controls to control playback of the media.  If
you select a text source you can edit the font, color, or text if
applicable.  Or if you select a capture source, you can select the
display/window/etc to capture for that source.

If the source toolbar is not desired and is viewed as taking up valuable
space in the window, it can be disabled via the view menu.

Co-authored-by: Clayton Groeneveld <claytong1214@gmail.com>
Co-authored-by: Jim <obs.jim@gmail.com>
2020-08-17 07:18:18 -07:00
Jim
f6ce8f2a32
Merge pull request #2942 from strager/x264-options
obs-x264: Log when options are ignored
2020-08-17 05:24:00 -07:00
jp9000
37767b6746 image-source: Transition when restarting slideshow
Fixes an issue where it would instantly set the image rather than
transition to the first from its current value
2020-08-17 03:12:59 -07:00
Jim
1849798cb4
Merge pull request #3281 from cg2121/slideshow-cleanup
image-source: Use media control api for slideshow
2020-08-16 23:54:15 -07:00
Jim
6058b6a87f
Merge pull request #3239 from kkartaltepe/chromeos-pls
UI: Check and fail when launched under ChromeOS
2020-08-15 08:49:05 -07:00
Jim
7667c107ef
Merge pull request #3233 from WizardCM/scripts-context
Add context menu to Scripts list with "Open file location"
2020-08-15 08:48:15 -07:00
Jim
22e6a040ed
Merge pull request #3223 from NiMO-TV/rtmp-nimotv-auto-server
rtmp-services: Add Nimo TV auto server
2020-08-15 08:43:42 -07:00
Scratch
e4b81c2b1b obs-scripting: Fix removing signal handlers in python
Closes #3218
2020-08-16 00:26:32 +10:00
Matt Gajownik
3e5de93cf3 UI: Provide Open button in the Log Viewer 2020-08-15 15:20:38 +10:00
JohannMG
7f8f3ff3f9 UI:Show "Get Stream Key" to users of Facebook CDN
Facebook provides CDN endpoints for users to optimize their bandwidth or
latency using the speed test on facebook.com/live/ingests/. In this case
streamers use a custom server endpoint that looks like
"rtmps://edgetee-upload-fml.xx.fbcdn.net:443/rtmp/".

This diff adds detection to users using the custom field for CDN
endpoints so we can show the stream key link button.
2020-08-14 17:18:18 -07:00
Clayton Groeneveld
42e7b16fde image-source: Use media control api for slideshow 2020-08-14 14:32:21 -05:00
Clayton Groeneveld
88da9bf693 Revert "image-source: Add proc handler calls to slideshow"
This reverts commit 1475f756f229ae4428178fa16de3dd6b9cd776b5.
2020-08-14 13:35:45 -05:00
Matt Gajownik
c9001d0f98
Merge pull request #3273 from PatTheMav/macos-streamdeck-fix
CI: Add QtNetwork to bundle to restore Streamdeck support
2020-08-13 13:34:01 +10:00
PatTheMav
12c3d92345
CI: Add QtNetwork to bundle to restore Streamdeck support 2020-08-12 11:20:50 +02:00
Jim
c5b3125b75
Merge pull request #3253 from JohannMG/mac-decklink-warnings
mac-decklink: Fix C++ virtual function warnings
2020-08-11 18:09:31 -07:00
Joel Bethke
f1be7fe2d0
Merge pull request #3272 from cg2121/readme-remove-mantis
README.rst: Remove Mantis
2020-08-11 13:09:28 -05:00
Clayton Groeneveld
94ef69d022 README.rst: Remove Mantis 2020-08-11 05:11:24 -05:00
jp9000
d45017370b libobs: Add functions to get locale text from modules
Useful for sharing translated text from modules with the frontend.  This
is technically already done via properties, but it would be nice to just
be able to explicitly look up locale text directly rather than have to
go through properties.
2020-08-10 12:24:01 -07:00
jp9000
de2e89d972 libobs: Add function to get module pointer
Useful for getting getting locale text associated with a specific module
2020-08-10 12:24:01 -07:00
jp9000
f5d6a695be libobs: Add OBSRef::Get()
Allows explicitly getting the pointer associated with the object.
2020-08-10 12:24:01 -07:00
jp9000
1475f756f2 image-source: Add proc handler calls to slideshow
Allows manipulation of the slideshow via procedure handlers.
2020-08-10 12:24:01 -07:00
jp9000
389f7d390f image-source: Play if play_pause() called while stopped
Causes the slideshow to start back up if it was stopped for whatever
reason previously.
2020-08-10 12:23:36 -07:00
jp9000
66863269e8 UI: Add missing refresh icon to acri qss file 2020-08-10 12:23:36 -07:00
Jim
a9c65aeabf
Merge pull request #2955 from cg2121/group-signals
UI: Make select/deselect signals work w/ group items
2020-08-08 19:59:13 -07:00
Valentin
b7f5cde4e3 libobs: Fix undefined behavior
It is undefined behavior to apply an offset to a null pointer. I would
have liked to reference cppreference but best I found was the PR that
added this check to clang's undefined behavior sanitizer:
https://reviews.llvm.org/D67122 .
2020-08-08 10:41:24 +02:00
JohannMG
41b12d7bff mac-decklink: Fix C++ virtual function warnings
Created another virtual function to override and moves stubbed function
to the header.
2020-08-06 12:53:30 -07:00
Colin Edwards
d7ccac7754
Merge pull request #3258 from PatTheMav/macos-qt-dylib-fix
CI: Update macOS deps version to fix unmet Qt plugin dependencies
2020-08-06 14:11:47 -05:00
PatTheMav
bc3a405445
CI: Update macOS deps version to fix unmet Qt plugin dependencies 2020-08-06 20:03:05 +02:00
Jim
bfdf5dc947
Merge pull request #2356 from jpark37/sycc-color-space
Color space refinements
2020-08-05 08:58:21 -07:00
Valentin
4508cb03b5 libobs: Fix deferred update sometimes using stale data
Currently we use a bool flag to signal the video thread that it should
call obs_source_deferred_update. This does not work correctly when the
update callback is slow and the update is triggered faster than the
callback can complete.

For example:
* the settings are set to state A
* defer_update is set
* obs_source_deferred_update is called and enters into the callback
* the callback starts making use of the settings in state A
* the settings are set to state B
* defer_update stays set
* the callback finishes
* defer_update is set to false

Now defer_update is false but the callback has only observed settings in
state A but not B.

This commit fixes this bug by keeping an update counter. If the counter
has changed while we were in the callback we know that we need to update
again.

The counter is atomic. The current version uses a plain bool which is a
data race as the value is written and read in parallel.
2020-08-04 09:28:55 +02:00
jp9000
1aee73fcfc UI: Clarify and improve locale text
Renaming it to prevent possible confusion with the source context
toolbar.
2020-08-03 20:26:06 -07:00
jp9000
2f43197b26 UI: Move View -> Toolbars -> Listboxes
Moves View -> Toolbars -> Listboxes to View -> Listbox Toolbars
2020-08-03 19:09:38 -07:00
jp9000
6d758f6f5d UI: Remove unused action 2020-08-03 18:23:50 -07:00
JohannMG
6f268e490c UI: Mac fix — remove wizard background padding
If style is not set it default's to Mac's style on Mac which adds
padding for a background. Looks like wasted space on Mac because there
is no background. Matches windows. Does not affect Linux.

https://doc.qt.io/qt-5/qwizard.html#elements-of-a-wizard-page
2020-08-03 17:13:49 -07:00
Jim
2e4e986dc0
Merge pull request #3238 from kkartaltepe/unused-var
UI: Remove unused variable
2020-08-02 21:36:34 -07:00
Kurt Kartaltepe
a52b53e98e UI: Check and fail when launched under ChromeOS
This adds a check when compiling for linux to check for a ChromeOS
container specific directory. If this directory exists OBS will fail to
start with an error that ChromeOS is unsupported.
2020-08-02 14:15:21 -07:00
Kurt Kartaltepe
fe596b2588 UI: Remove unused variable 2020-08-02 12:39:28 -07:00
Jim
478f1de846
Merge pull request #2939 from cg2121/log-viewer
UI: Add log viewer window
2020-08-01 12:17:48 -07:00
Clayton Groeneveld
040e445617 UI: Add log viewer window 2020-07-31 19:57:12 -07:00
Matt Gajownik
a4bef68b15 frontend-tools: Add "Open file location" menu item for scripts 2020-08-01 10:40:57 +10:00
Matt Gajownik
c39aef03fe frontend-tools: Add context menu to Scripts list 2020-08-01 10:40:57 +10:00
Jim
3107eda0d2
Merge pull request #2961 from cg2121/transitions-dock
UI: Redesign transitions dock
2020-07-31 11:19:55 -07:00