Commit Graph

8769 Commits (c4e71794d9639b61ccf192cdca8b3f1a3786776e)

Author SHA1 Message Date
PatTheMav ae624f232d
CI: Bump macOS-deps version to include rnnoise 2020-09-09 16:00:03 +02:00
Kurt Kartaltepe 8761fa1a2c obs-ffmpeg: fix crash with rawvideo
Some codecs have no recommended pix_fmts so we must check that pix_fmts
is not null before trying to find a good match. This just prays whatever
OBS is configure for is a valid format when users choose these oddball
codecs. When its not you should get a normal recording fail instead of a
crash now.

fixes #3031
2020-09-08 21:22:24 -07:00
Kurt Kartaltepe 02291f79b8 UI: Fix recording check when using url output
Previously this check would prevent you from using URL output if your
file output target was invalid.
2020-09-08 20:29:40 -07:00
Richard Stanway 5889e2905e CMake: Set PIC for all library targets
Fixes https://github.com/obsproject/obs-studio/issues/3436
2020-09-09 01:55:50 +02:00
Richard Stanway 023733595c UI: Unset bandwidth test on non-Twitch service / disconnect
For additional safety, uncheck the bandwidth test checkbox so that the
setting isn't persisted in an enabled state when disconnecting or
switching a service. Also just straight up disable if not authed to
Twitch when saving settings.
2020-09-09 01:31:48 +02:00
Richard Stanway 063c69ad1e UI: Don't warn about bandwidth test mode if not authed
It was possible to enable the bandwidth test and disconnect your Twitch
account, resulting in a confusing prompt about streaming in bandwidth
test mode when trying to start a stream.
2020-09-09 01:31:48 +02:00
Jim 5a236870c0
Merge pull request #2838 from Waik0/rtmp-services-showroom
rtmp-services: Add SHOWROOM
2020-09-08 16:12:54 -07:00
Toasterapp 80547455ca rtmp-services: Add SHOWROOM 2020-09-08 15:29:03 -07:00
Jim 01c7200716
Merge pull request #3435 from jpark37/game-capture-messages
win-capture: Improve game capture messages
2020-09-08 10:24:48 -07:00
jpark37 7cf148e013 win-capture: Improve game capture messages
Tag debug output in the game process with "[OBS]" and mention that
graphics-hook.dll is ours.
2020-09-08 09:55:46 -07:00
Jim 0ba9b201a7
Merge pull request #3433 from nkmerrill/fastforwardfix
deps/media-playback: Fix fast-forward after reset
2020-09-07 19:15:40 -07:00
nkmerrill a5656d12b4 deps/media-playback: Fix fast-forward after reset
Fixes #3341 by ensuring timestamps are reset after pausing.
2020-09-07 19:50:40 -06:00
Jim 5969d83575
Merge pull request #3398 from cg2121/scene-tree-fix
UI: Fix scene tree event handling
2020-09-07 18:15:08 -07:00
Jim 9e76f95811
Merge pull request #3409 from CodeYan01/patch-1
UI: Remove redundant word
2020-09-07 18:11:29 -07:00
Jim dd94bffa45
Merge pull request #3432 from cg2121/rachni-fix
UI: Fix vcam button not changing colors when checked
2020-09-07 18:10:27 -07:00
Jim 96cb70049d
Merge pull request #3431 from cg2121/media-dup-code
UI: Remove duplicate media timer code
2020-09-07 18:10:14 -07:00
jp9000 e86b8241f3 win-dshow: Fix bug determining closest audio config
This fixes the remaining bugs that were still present when trying to fix
audio-related crashes with AJA devices.
2020-09-07 18:05:54 -07:00
Clayton Groeneveld 6ebfbe2246 UI: Fix vcam button not changing colors when checked
This fixes a bug with the Rachni theme in which the virtual
camera button wouldn't change colors when active.
2020-09-07 18:33:54 -05:00
jp9000 50d3130b64 UI: Replace/simplify device toolbar
The old version of the device toolbar was a complex situation.  Because
of the fact that device properties can take significant time to query,
this put an unpleasant burden on the UI thread; so to fix this problem,
the device toolbar was made to be threaded.  However, threading is a
complex and dangerous thing, and there is a fear that this could cause
complications down the line whenever users are simply selecting devices.

So for the time being, as a safety precaution, simplify the device
toolbar down to just the "activate" button, and make it so that if users
really need to query and change the devices, that they need to
explicitly open the properties.  That way the devices aren't being
queried constantly every time a device source is selected.

Alternatively in the future, device enumeration could be cached, but
seeing as that's a significant amount of work and needs to take in to
account whether a user adds/removes a device while the process is
active, that's not going to happen any time soon.
2020-09-07 16:21:29 -07:00
jp9000 072a886453 win-dshow: Add "activate" proc to proc handler 2020-09-07 16:12:50 -07:00
jp9000 57c21e3cb9 win-dshow: Fix 24bit audio not being detected correctly 2020-09-07 15:26:01 -07:00
jp9000 1538b6909f win-dshow: Fix AJA devices crashing 2020-09-07 14:14:40 -07:00
Clayton Groeneveld adb4c40f73 UI: Remove duplicate media timer code
This removes duplicate code that is already in the
start/stop timer functions.
2020-09-07 16:14:32 -05:00
jp9000 af09057395 libobs: Deprecate service multitrack check
This isn't particularly needed, as a service with multiple tracks won't
be using multiple tracks to begin with anyway.  This might change later,
but for now just mark it deprecated.
2020-09-07 13:38:38 -07:00
Jim 86147d9719
Merge pull request #3415 from jpark37/default-color-space
Unify color space settings as 709
2020-09-07 13:29:44 -07:00
jp9000 2ac1ad5290 deps/media-playback: Fix pause continually running loop
Fixes an issue where when paused, the thread loop would continue to
repeat endlessly until unpaused.
2020-09-07 12:36:40 -07:00
CodeYan01 de875a454e UI: Remove redundant word
Remove redundant "desired" in
Basic.AutoConfig.VideoPage.SubTitle="Specify the desired video settings
you would like to use"
2020-09-08 00:18:06 +08:00
jpark37 b3dcb2a0f1 enc-amf: Update AMD encoder submodule 2020-09-07 07:58:54 -07:00
Clayton Groeneveld 41e38cc958 UI: Fix scene tree event handling
This fixes a bug where the same scene would show up in
the multiview more than once when reordering scenes.
2020-09-07 09:53:11 -05:00
Jim 358f453938
Merge pull request #3400 from cg2121/studio-mode-bug
UI: Fix studio mode load bug
2020-09-07 06:34:15 -07:00
Jim 8696e431af
Merge pull request #3425 from Darkhogg/tray-icons
UI: Ensure tray icon is themed in all cases
2020-09-07 06:25:26 -07:00
Jim 2d7801ce16
Merge pull request #3404 from cg2121/media-state-fix
UI: Set restart state when there is no media
2020-09-07 06:22:42 -07:00
Jim 74c2bfa49c
Merge pull request #3422 from cg2121/media-arrow-buttons
UI: Allow adjusting media slider with arrow buttons
2020-09-07 06:22:25 -07:00
jpark37 b6afaceeae Update VIDEO_CS_DEFAULT to mean 709 instead of 601
Consistent with modified default UI setting.
2020-09-06 20:51:28 -07:00
Jim bad7b557c5
Merge pull request #3420 from Fenrirthviti/vcam-scripts
win-dshow: Add installer scripts for manual Virtual Cam registration
2020-09-06 18:40:34 -07:00
Joel Bethke a94ede6d00 win-dshow: Add VirtualCam installer scripts
This adds two batch scripts to install and uninstall the virtual cam
devices for installations where the installer could not be used.  Most
commonly, this is for portable installations or those who prefer the
.zip file.
2020-09-06 18:04:44 -07:00
jp9000 dc3839ab74 cmake: Add function for installing data from abs path
Allows the ability to install extra data from a specific absolute path
rather than a path relative to the cmake current source dir.  Useful if
say I want to generate data files in to the cmake binary folder rather
than put them in the data folder of the cmake source dir.
2020-09-06 17:46:03 -07:00
jp9000 da8192544b win-dshow: Use cmake-based GUID for virtualcam 2020-09-06 17:04:06 -07:00
Daniel Escoz c899729c12
UI: Ensure tray icon is themed in all cases 2020-09-07 00:06:33 +02:00
jpark37 bfa0224399 UI: Change the default color setting in the UI from sRGB to 709
It seems like YouTube applies nonlinear-to-linear sRGB, and
linear-to nonlinear-709 transformations to uploaded videos now. This
makes sRGB too dark on their platform for video players that alias 709
as sRGB, which is almost everyone. Make 709 the default to keep peace.
2020-09-06 12:33:02 -07:00
Jim de41bb8763
Merge pull request #3405 from cg2121/media-label-spacing
UI: Refine context bar
2020-09-06 08:43:29 -07:00
Clayton Groeneveld 167a4dce37 UI: Refine context bar
This adds spacing between the timer and duration labels in the media
controls. The vertical alignment of the labels have been fixed as well.
And the width of the source label has also been widened.
2020-09-06 07:44:56 -07:00
Clayton Groeneveld 6ab2768546 UI: Allow adjusting media slider with arrow buttons
This allows the user to adjust the media slider with the left
and right keyboard arrows. It is currently set to adjust
by 5 second increments.
2020-09-05 23:53:54 -05:00
Richard Stanway e1b0d1d984 UI: Use correct constant for CryptDecodeObjectEx 2020-09-04 22:10:06 +02:00
Richard Stanway d7e8f115e8 libobs/media-io: Fix suspicious memset behavior 2020-09-04 21:46:18 +02:00
Clayton Groeneveld ecb71e32d1 UI: Set restart state when there is no media
When there is no media, set the media to the restart state.
Currently, this only affects the VLC source, as the media
source doesn't use the OBS_MEDIA_STATE_NONE, at this time.
2020-09-03 17:09:31 -05:00
Jim ace0faebd8
Merge pull request #3377 from WizardCM/toolbar-fixes
UI: Don't save invalid colors via Source Toolbar (Freetype 2 Source)
2020-09-03 13:42:17 -07:00
Jim a1434fe443
Merge pull request #3397 from cg2121/fix-stats-bug
UI: Fix rec time left not showing in stats
2020-09-03 07:48:51 -07:00
Jim 44bdf60d06
Merge pull request #3394 from cg2121/fix-leak
UI: Fix memory leak when dropping files
2020-09-03 07:45:59 -07:00
Jim a66a8da093
Merge pull request #3383 from Programatic/warning_fix
UI: Fix compiler warning about needing parenthesis
2020-09-03 07:44:24 -07:00