Commit Graph

6276 Commits (4722b764cad77d5447331f1f45e8203b02ffbdb2)

Author SHA1 Message Date
jp9000 4722b764ca UI: Set replay buffer check w/ --startreplaybuffer
When starting the program with the --startreplaybuffer command line
parameter, it would not correctly highlight the button.
2019-02-19 19:27:54 -08:00
jp9000 103bec6526 UI: Fix disabling "resize output to source"
This should always be disabled if video output is active.  Additionally,
the expression used to determine whether it should be enabled/disabled
was very unreadable.
2019-02-19 19:26:37 -08:00
jp9000 0bab66ca52 UI: Make sure user can still stream if auth fails
The stream key is saved, so don't overwrite stream key with auth key if
the auth key is invalid.
2019-02-19 17:59:29 -08:00
jp9000 5fb02c02dc UI: Do not auto-remux if using FFmpeg output 2019-02-19 16:52:31 -08:00
jp9000 0ef96953c3 UI: Use QFileInfo for remux
Using QFileInfo is better than mangling the string together ourselves
manually.
2019-02-19 16:52:31 -08:00
jp9000 cc1db3a944 UI: Clean up code styling of ternary operator usage 2019-02-19 16:52:31 -08:00
Richard Stanway 69ffce3479 UI: Allocate space for null terminator 2019-02-19 21:57:22 +01:00
jp9000 8694859e85 image-source: Actually defer slideshow, not image source
The previous commit in this module meant to defer the properties update
of the slideshow source, not the image source.  Wrong file was modified.
2019-02-19 12:02:43 -08:00
jp9000 d17ee20863 obs-frontend-api: Make a few frontend API thread-safe
Additionally, check for null output handlers.
2019-02-18 19:28:26 -08:00
jp9000 9cf40e230b UI: Fix profile duplicates using wrong cookies 2019-02-18 19:20:28 -08:00
Richard Stanway 3ddfc55e46 libobs: Fix missing mutex unlock from 26dbe54 2019-02-18 23:42:01 +01:00
Richard Stanway 26dbe54896 libobs: Check fwrite return value for extra safety 2019-02-18 17:49:33 +01:00
jp9000 925f72c8c3 libobs-d3d11: Fix rebuild of NV12 textures
When NV12 textures were added, driver crashes and their rebuild process
was not taken in to consideration.  This fixes that by adding explicit
NV12 rebuild functions.
2019-02-17 17:42:48 -08:00
jp9000 86f82c952a libobs-d3d11: Actually use paired NV12 member variable 2019-02-17 17:42:48 -08:00
jp9000 e09c63914e libobs-d3d11: Don't inline rebuild funcs
Inlining these functions is pretty pointless.
2019-02-17 17:42:48 -08:00
Jim 6378a77a82
Merge pull request #1663 from Vainock/patch-3
UI: Remove unused "Beta" texts
2019-02-17 15:30:18 -08:00
Vainock ee27d19390 UI: Fix inconsistent use of ellipsis
Closes obsproject/obs-studio#1660
2019-02-17 15:27:20 -08:00
Jim d93d2b9467
Merge pull request #1666 from derrod/nvenc-fix
obs-ffmpeg: Fix constant QP mode in new NVENC
2019-02-16 20:52:10 -08:00
derrod 18c59c3e54 obs-ffmpeg: Fix constant QP mode in new NVENC 2019-02-17 02:43:31 +01:00
craftwar ed0908567c UI: Set preferHardware only when hw encoder is avail.
streamPage->ui->preferHardware doesn't exist if hw encoder is not
available

Closes obsproject/obs-studio#1665
2019-02-15 16:22:00 -08:00
jp9000 1f317fb80a UI: Hide instead of disable rescale
Hides the rescale option when selecting a texture-based encoder instead
of just disabling.
2019-02-15 16:20:40 -08:00
Richard Stanway 9cd892cf9e obs-ffmpeg: Update advice for CFA
Turns out you need to add the ffmpeg mux processes too which is a bit
unreasonable to expect a user to do, so just recommend disabling it
outright.
2019-02-15 09:38:19 +01:00
jp9000 48ecd99b2d vlc-video: Fix a video format not playing back correctly 2019-02-14 23:51:17 -08:00
jp9000 066c11c307 UI: Add back auth for custom RTMP servers
This was a feature that was available when you chose custom RTMP server;
it was not considered when making the new version.  Note: it looks
unslightly, but it works for now.
2019-02-14 23:12:55 -08:00
jp9000 4c3f992b44 obs-ffmpeg: Add more blacklisted non-NVENC adapters 2019-02-14 23:12:55 -08:00
jp9000 067c3e62a3 UI: Disable stream settings if streaming 2019-02-14 23:12:55 -08:00
jp9000 dab44ae75a UI: Suggest hw encoding by default depending on hw
In the auto-configuration dialog, use hardware encoding by default if
NVENC is available due to the fact that the latest generations of NVENC
currently has a better quality to bitrate ratio than veryfast x264 and
most other hardware devices.
2019-02-14 23:12:55 -08:00
Richard Stanway aca8d60d0a obs-browser: Update default URL 2019-02-14 23:18:12 +01:00
Richard Stanway b2b269dfa7 UI: Remove unused help icon 2019-02-14 22:19:32 +01:00
Richard Stanway 0d8fa3fbb1 frontend-tools: Remove unused help icon 2019-02-14 22:19:07 +01:00
Vainock 63de5c78fb
UI: Remove unused "Beta" texts
Release 22.0.2: - Removed the "Beta" warning from the Auto-Configuration tool
The texts that the Auto-Configuration tool is in beta remained.
2019-02-14 20:55:08 +01:00
jp9000 01434dd265 obs-browser: Don't use UNUSED_PARAMETER in app class 2019-02-13 19:50:38 -08:00
jp9000 7edbb2f149 UI: Delete cookies on profile removal 2019-02-13 19:39:55 -08:00
jp9000 e67d04270a obs-ffmpeg: Enable NVENC psycho_aq by default for now 2019-02-13 19:33:39 -08:00
jp9000 731784cd05 obs-browser: Have child processes detect crashes
If the main process crashes, have the child processes attempt to
terminate themselves so the child processes do not linger unnecessarily.
2019-02-13 19:31:46 -08:00
jp9000 1759d1beae UI: Wait for browser init before "what's new" dialog 2019-02-13 19:31:46 -08:00
jp9000 693e5f21b4 UI: Clear key in autoconfig when service disconnected 2019-02-13 19:31:46 -08:00
jp9000 a0e92303f2 UI: Estimate better resolution if using NVENC
NVENC has increased its quality to bitrate ratio over the years with
recent generations of hardware, so do not increase the minimum estimated
bitrate if NVENC is chosen in the auto-configuration dialog.
2019-02-13 19:31:46 -08:00
Richard Stanway 15895bfb76 obs-outputs: Increase GetAdaptersAddresses buffer size
4096 is too small for most systems to do this in a single call.
2019-02-13 21:59:58 +01:00
Jim 443aa0b729
Merge pull request #1661 from DDRBoxman/decklink-keyer
decklink-output-ui: Add note about keyer output
2019-02-12 22:27:14 -08:00
Colin Edwards 22f856bb7d decklink-output-ui: Add note about keyer output 2019-02-13 00:23:05 -06:00
jp9000 b63e7fbcb5 libobs: Fix indent 2019-02-12 19:33:13 -08:00
jp9000 573197af5b libobs: Fix race conditions
Uses obs_source_get_ref on the sources enumerated in the tick_sources
function in obs-video.c to ensure a reference has been incremented
before calling that source's video_tick, and replaces an
obs_source_addref with obs_source_get_ref in the push_audio_tree
function in obs-audio.c to ensure that it cannot increment a source that
has already decremented its reference to 0.
2019-02-12 19:23:24 -08:00
jp9000 131fb7b460 libobs: Fix potential race condition on shutdown
If the remove_connection call of obs_encoder_stop_internal took too
long, obs_encoder_destroy could get called before that function
completed, causing a race condition.
2019-02-12 16:07:14 -08:00
jp9000 cf004ba3fe UI: Add default preset for NVENC in simple output 2019-02-12 16:07:14 -08:00
Richard Stanway 3d27e7c2c9 decklink-ouput-ui: Remove unused help icon 2019-02-12 12:58:28 +01:00
Richard Stanway 917318d8e8 frontend-tools: Remove unused help icons 2019-02-12 12:57:18 +01:00
Richard Stanway 43fbefb9ef UI: Remove additional unused help icons 2019-02-12 12:55:31 +01:00
Colin Edwards 55cee6ca0a
Merge pull request #1659 from DDRBoxman/leak
decklink-output-ui: Fix memory leak in save settings
2019-02-11 21:17:39 -06:00
jp9000 c372d26c02 win-capture: Don't try to find window every frame
When window capture is not capturing a window, don't try to find the
window every frame.  Instead, just check once per frame.  The process of
finding a window has a lot of checks and requires a surprising amount of
processing.
2019-02-11 17:57:24 -08:00