7400 Commits

Author SHA1 Message Date
Colin Edwards
7c08b3f95e CI: Update scripts for reorganized OSX bundle 2019-10-14 22:10:38 -05:00
luz.paz
d124e6402c docs/sphinx: Fix various typos
(This modifies UI, libobs, deps/obs-scripting, various cmake files)

Found using:
`codespell -q 3 -S *.ini,./UI/data/locale,./deps/w32-pthreads -L aci,dur,iff,mut,numer,uint`
2019-10-14 17:19:38 -07:00
Jim
c52f2cae53
Merge pull request #2070 from fzwoch/gcc9
cmake: no -Werror-implicit-function-declaration for C++
2019-10-14 15:21:00 -07:00
Richard Stanway
323638e704 libobs-d3d11: Use vendor ID instead of string match 2019-10-14 23:06:33 +02:00
Colin Edwards
747ce9b77c libobs: Use proper resource paths when running from an OSX bundle 2019-10-13 21:53:43 -05:00
jpark37
e35c15d4b6 enc-amf: Upgrade to v2.6
Deprecated support for drivers that ship an AMF Runtime older than
version 1.4.14, and older than 19.9.2. This also means Windows 8 is no
longer supported since AMD has stopped providing driver updates.

Added the new "High Motion Quality Boost" option that is exclusive to
the new 5700 cards and seems to do nothing on older cards.

Fixed the calculation of the automatic VBV buffer above 50%.

The Video API option will now only list one API, Direct3D 11 on Windows
10, and Direct3D 9 on Windows 7.
2019-10-13 13:52:17 -07:00
Jim
6b08c064f6
Merge pull request #2066 from jpark37/feature-level-baseline
Use D3D_FEATURE_LEVEL_10_0 as baseline
2019-10-12 20:55:33 -07:00
Jim
09c7ec487b
Merge pull request #2064 from jpark37/bgra-swap-chain
D3D swap chain enhancements
2019-10-12 20:54:33 -07:00
Jim
b327bf5deb
Merge pull request #2053 from Palakis/feature/frontend-api-transition-duration-changed
Frontend API: provide a "transition duration changed" event
2019-10-12 17:34:09 -07:00
Jim
b910edd872
Merge pull request #2058 from Palakis/duplicate-scene-names
UI: set names on scenes duplicated for Studio Mode
2019-10-12 16:42:04 -07:00
Jim
0f541aa285
Merge pull request #2054 from jpark37/opengl-version
libobs-opengl: Require OpenGL 3.3 instead of 3.2
2019-10-12 16:40:18 -07:00
Stéphane Lepin
881e49ce62 UI: frontend api "trans. duration changed" event 2019-10-12 16:29:44 -07:00
Colin Edwards
7e5ba1bde8
Merge pull request #2120 from jpark37/objc-msgsend
libobs: Strict objc_msgSend support
2019-10-12 12:16:17 -05:00
Jim
0a2fa768d5
Merge pull request #2045 from wolf247/master
rtmp-services: Add ChathostessModels
2019-10-12 02:17:32 -07:00
jp9000
d88a5a5a60 obs-browser: Remove "monitor by default" flag
The reasoning behind removing this flag is because the whole point of
having it in was so we could replace chromium's audio output.  But there
are too many obstacles in our path from doing that for now, so it's
better to not have this flag because it just causes a lot of browser
sources to initialize audio monitoring unnecessarily.  We can change
this in the future, but for now, it's best to let the user choose to
turn on audio monitoring for the source if they choose to turn on audio
rerouting to OBS.

Note that this only changes default behavior for newly created sources;
it will not change settings of existing sources the user had before this
change.
2019-10-11 23:42:35 -07:00
jp9000
d6f9ff0406 Revert "libobs/audio-monitoring: Don't init until used"
This reverts commit 22aa66a6eb520444c492f6a7c595fd7a5de98bdc.

Apparently, starting audio on the fly like this can introduce latency in
to the audio playback, so for now revert it.  It was a bit of a
precautionary thing rather than an actual fix anyway, so it probably
wasn't all that necessary to begin with.
2019-10-11 23:34:27 -07:00
jpark37
3130d38c9b libobs: Strict objc_msgSend support
Something changed that makes strict the default. Fixed up the code.
2019-10-11 22:17:23 -07:00
Clayton Groeneveld
350969a206 rtmp-stream: Fix comparison between signed and unsigned ints 2019-10-11 22:34:49 -05:00
jp9000
dd48a99f03 libobs-d3d11: Fix code styling 2019-10-11 17:40:50 -07:00
jp9000
236ac66121 libobs: Update version to 24.0.3 2019-10-11 17:33:13 -07:00
jp9000
0f75f963ad libobs-d3d11: Fix calling convention of loaded func
Because this did not have WINAPI (stdcall) specified as the calling
convention on the gdi32 export, caused a crash due to stack corruption
on the 32bit version of OBS.
2019-10-11 17:21:11 -07:00
wolf247
7d6d315533 rtmp-services: Add ChathostessModels 2019-10-11 17:05:25 -07:00
Jim
76fe77831d
Merge pull request #2037 from cg2121/compiler-warnings
UI, libobs: Fix compiler warnings
2019-10-11 16:38:48 -07:00
jp9000
80a1fee70f obs-browser: Only disable NetworkService on macOS
Apparently, using the old chromium network implementation changes the
way cookies are handled, causing cookies to reset.  So instead of doing
that, continue to use the new network implementation on Windows, and
only use the old network implementation on macOS for the time being.
2019-10-11 12:45:42 -07:00
brittneysclark
ffd0bbb1ab obs-qsv11: Enable option for Custom Quantization Matrix
Add the option to enable custom quantization matrix for game streaming
on ICL for better subject quality. Feature is only supported with AVC
high profile, so added function to detect when QSV profile is modified
and hide or show CQM UI option accordingly. Also, increase SPS/PPS
buffer sizes since matrix is stored in SPS/PPS.
2019-10-11 01:10:08 -07:00
brittneysclark
dc76bf2fe9 obs-qsv11: Add platform enums for KBL and ICL
Add two new platform enums for enabling future features
2019-10-11 01:10:08 -07:00
jpark37
ade65df2aa libobs: Add gs_begin_frame for duplicators
We really shouldn't be resetting duplicator state as part of gs_flush.
gs_begin_scene is not ideal because it is called twice per frame, and
only after duplicators have been ticked. Even though it makes no
user-facing difference, it makes more logical sense to reset at the top
of the frame than the bottom.
2019-10-10 21:06:01 -07:00
Jim
29ca28418f
Merge pull request #2115 from jpark37/duplicator-ref-count
Fix duplicator ref count
2019-10-10 21:01:16 -07:00
jpark37
471d752d75 libobs-d3d11: Use unordered_map for duplicator collection
Not in love with STL, but lets at least use the semantically-correct
collection. It's also a shame this is a global variable with gross
pre-main allocations, but attaching it to the device instance would
break the interface.
2019-10-10 19:29:15 -07:00
Jim
9fa1ec3ae9
Merge pull request #2114 from cg2121/fix-multiview
UI: Fix issue where multiview doesn't update
2019-10-10 19:15:07 -07:00
jpark37
1ce61c57c0 win-capture: Fix extra duplicator refs
Make duplicator_capture_tick the sole creater, and reference adder of
IDXGIOutputDuplication objects. This prevents a situation where
duplicator_capture::showing cause be false while
duplicator_capture::duplicator was not null at startup on background
scenes, preventing IDXGIOutputDuplication from being recreated when
DXGI_ERROR_ACCESS_LOST.
2019-10-10 19:03:18 -07:00
Clayton Groeneveld
016d4ee87f UI: Fix issue where multiview doesn't update 2019-10-10 20:12:20 -05:00
jp9000
c43b273f62 libobs: Update version to 24.0.2 2019-10-10 16:19:45 -07:00
Colin Edwards
730fafc72d
Merge pull request #2113 from cg2121/exclude-dir
Exclude build dir from clang format
2019-10-10 10:06:27 -05:00
jp9000
b7d094a532 libobs-d3d11: Don't set GPU priority on Intel adapters 2019-10-10 03:03:38 -07:00
jp9000
254947eaa0 libobs/audio-monitoring: Add error logging
Helps diagnose issues if the user is unable to initialize audio
monitoring for whatever reason.
2019-10-10 02:04:59 -07:00
jp9000
22aa66a6eb libobs/audio-monitoring: Don't init until used
This prevents audio monitoring from actually initializing unless audio
is actually played back through the source.  This prevents many browser
sources from initializing audio monitoring all at once needlessly if
audio is not being rerouted to OBS.
2019-10-10 02:04:58 -07:00
jp9000
8743b00f84 obs-browser: Use older chromium network implementation
This uses the older network implementation rather than the new
NetworkService chromium has implemented until a later version of CEF is
used.  The newer NetworkService implementation has caused some lag with
playback when hardware acceleration is not available for whatever
reason.  This doesn't fix media playback issues with software rendering
on windows, but it does on macOS.  All playback issues with software
rendering appear to be fixed in later version of CEF, however those
versions do not currently have hardware accelerated OSR or audio capture
support, so we must deal with 3770 until we can upgrade CEF again (which
hopefully won't be too long).
2019-10-10 02:00:57 -07:00
jp9000
ec769ef008 libobs-d3d11: Set maximum GPU priority
(This commit also modifies the UI)

This solves the issue where OBS would be deprioritized by Windows over
fullscreen games, causing OBS to lag out whereas the games would still
run fine.
2019-10-10 00:51:47 -07:00
Clayton Groeneveld
53f58ecd45 Exclude build dir from clang format 2019-10-10 01:38:40 -05:00
Clayton Groeneveld
a55f83a38f UI, libobs: Fix compiler warnings 2019-10-10 00:25:54 -05:00
derrod
5e6a538931 obs-ffmpeg: Use av_opt_set on context instead of priv_data
Certain ffmpeg parameters such as "bufsize" or "maxrate" have to be
applied to the context rather than to "priv_data". In order to make sure
options are still passed to the encoder setting set AV_OPT_SEARCH_CHILDREN.
2019-10-09 18:54:01 +02:00
Clayton Groeneveld
2d6494ec00 obs-filters: Fix sharpness not being translated 2019-10-09 05:23:15 -05:00
Clayton Groeneveld
15129b5751 UI: Fix issue with preview projector 2019-10-09 02:43:48 -05:00
Clayton Groeneveld
30d2830c15 UI: Add ability to rename filters with F2 (Return on Mac) 2019-10-08 02:48:50 -05:00
jp9000
cda7f3e3fd Revert "UI: Remove FFZ from twitch integration"
This reverts commit c22d539a7b39f103fffc80649e3df628c1286f57.
2019-10-07 18:24:38 -07:00
Alexander Popov
322b8afddb
Rename com.obsproject.Studio.desktop to obs.desktop
Now it's impossible to add OBS to favorites applications in GNOME:

https://imgur.com/B3bvnw4

I think it's because of inconsistency of `.desktop` file name and executable file name.

Just after renaming OBS can be manages as regular application:

https://imgur.com/acmzrNy
2019-10-08 00:09:12 +03:00
jp9000
c22d539a7b UI: Remove FFZ from twitch integration
Unfortunately, due to some conflicts between FFZ and BTTV (particularly
the fact that having FFZ enabled removes the BTTV settings menu items),
one of them needs to be removed.  For the time being, we'll remove FFZ,
because BTTV shows FFZ emojis anyway.
2019-10-07 13:36:56 -07:00
Ioan Loosley
c351580a20 Build: Added BUILD_CAPTIONS to linux build script 2019-10-07 21:08:00 +01:00
Ioan Loosley
5483de10ee cmake: Compile option to fix libcaption linking 2019-10-07 12:57:54 +01:00