1150 Commits

Author SHA1 Message Date
shaderdyn
aa55a54e17 Minor fix, correct AppWarning text. 2014-03-19 19:19:17 -03:00
palana
d17b7722bd Move ScopeGuard to OBSApi 2014-03-19 15:45:40 +01:00
palana
a49777f3aa Add red text reference for Optimize button and tweak optimize message box
The message box caption really shouldn't say "Error"
2014-03-19 15:45:40 +01:00
jp9000
cadbbb69d0 Make a few bug fixes (by shader) 2014-03-18 21:21:46 -07:00
palana
eb4f3cd455 Increase limit on log window contents
This should make the log window have effectively infinite size
2014-03-18 15:58:04 +01:00
palana
7a62157344 Fix defaults button behavior in advanced settings
Original change in 1c8df6329ac6e3b8d28c68ee7001cc12a1dd935d modified the unused
second parameter for BM_SETCHECK instead of sending BST_CHECKED as first
parameter
2014-03-17 15:11:04 +01:00
palana
d091679842 Disable uploading/analyzing of logs without logged system stats
The log file menu will now only contain log files that have at least logged
the system stats since too many people uploaded useless logs, unfortunately
2014-03-16 17:13:36 +01:00
palana
0708c86dbc Disable changing the config if the current audio device isn't found
This should alleviate the impact of enabling "Use Input devices ..." in
the advanced config

Also add a log message to signify that "Use Input devices ..." is enabled
2014-03-15 17:57:34 +01:00
Richard Stanway
c448a4e1c1 Check user has added sources before streaming 2014-03-15 00:27:29 +01:00
jp9000
6643b9cde6 Remove unintentional tabs 2014-03-14 15:57:28 -07:00
jp9000
1fcde020b5 Change divide by 2.0f to multiply by 0.5f 2014-03-14 13:07:15 -07:00
jp9000
6ba6f8b584 Fix AAC mono output
The entire mono situation is my fault.  I did test it and it seemed
like it was working at first when I got the pull request so I said "hey
okay looks good."  Unfortunately I was mistaken, so I'm fixing the code
myself.

AAC was taking in stereo audio and was not calculating the timestamps
correctly.  Internally OBS still gets data in the form of stereo, so
because this is OBS1 I'm just going to put in this workaround code that
downmixes stereo to mono in to the AAC encoder buffer.
2014-03-14 13:00:02 -07:00
palana
8abcff0c89 Fix potential ambiguity between XT locale and std::locale in Str() 2014-03-14 18:51:41 +01:00
palana
7a7ec418d3 Remove unnecessary new invocation 2014-03-14 18:51:40 +01:00
palana
622dea851e Move LogUpdateCallback to a more appropriate location 2014-03-14 18:51:39 +01:00
Richard Stanway
e7a0bc9ffb Remove unnecessary GetQPCTimeNS call from main loop 2014-03-13 22:39:46 +01:00
Richard Stanway
7e217cc523 Fix incorrect desktop audio mute threshold 2014-03-13 22:37:36 +01:00
palana
b6cc5516cc Remove a few VS2010 workarounds
VS2010 has problems with range-based for loops and with constructing a map item
that contained uncopyable types
2014-03-13 18:18:51 +01:00
palana
9a9deb5d4c Remove shader cache
This should eliminate all problems users had with corrupted shader cache files

API users who need non-blocking compilation of shaders are encouraged to use the
new async API
2014-03-11 18:25:03 +01:00
Richard Stanway
e508216b31 Minor static analysis fixes 2014-03-10 23:18:15 +01:00
palana
d412af0786 Hotfix tab to spaces 2014-03-09 17:12:06 +01:00
BtbN
5e472afa73 Remove possibly confusing log from nvenc loader 2014-03-09 16:57:13 +01:00
palana
35539f4c06 Implement optimize settings button for publish settings
This includes "optimizations" for almost all publish warnings; the aspect ratio
warning is not fixed because trying to fix that has wider repercussions for
scene/source layout/positioning and potentially even required bitrate

A possible future "optimization" to fix the aspect ratio warning would be to
compute a number of possible choices based on the current downscale setting with
a target output resolution of 480p/540p/720p/etc. and let the user select one of
the resulting base resolutions
2014-03-08 19:42:20 +01:00
palana
87ba3a736e Add optimize settings button (this "replaces" the defaults button when available)
Displaying both the defaults and the optimize button requires (currently
unnecessary) tweaking of the settings dialog, so they are mutually exclusive for
now
2014-03-08 19:42:19 +01:00
paibox
45f5b72abe Fix Defaults button behavior in Advanced
Clear the "Use input device for desktop audio" checkbox as well,
since it's disabled by default.
2014-03-08 19:26:07 +01:00
jp9000
6a4f15f08f Update to version 0.613b 2014-03-07 20:38:50 -07:00
jp9000
dfc96d088e Add -profile [profile] command line option
A user requested it, and it was super quick and easy, so I did it.

Also, renamed an unusual variable isSTEREO to isStereo.
2014-03-07 20:13:24 -07:00
palana
f9ccde2dbf Reorder publish settings checks to group messages by settings pane 2014-03-07 22:26:53 +01:00
BtbN
359ee4fde1 Add non-cbr mode with quality support to nvenc 2014-03-07 04:43:24 +01:00
BtbN
e3f575eb47 Add an actual Default NVENC preset, which selects the preset based on resolution and fps for best quality 2014-03-07 04:26:00 +01:00
Jim
d474f0a556 Merge pull request #315 from shousa/master
Enabled to select monaural audio
2014-03-06 20:11:17 -07:00
HomeWorld
a7a56f7118 Added a small visual indicator for global sources in sources listview 2014-03-06 10:24:45 +02:00
palana
0545b4ad0f Revert "Add workaround for broken TLS SNI in Windows 8.1 for the archive updater"
This reverts commit 9b657018c6e5e5024141fee1ef4c96e5389bfefb.
2014-03-05 18:12:33 +01:00
palana
9b657018c6 Add workaround for broken TLS SNI in Windows 8.1 for the archive updater
Asking users to download update (manifests) via an insecure connection is not
ideal, but considering most of them downloaded the original test build via an
insecure connection in the first place it might be ok

Unfortunately the detection is not perfect, so genuine TLS attacks can be
misinterpreted as the bug; completely invalid/expired/otherwise broken
certificates should be rejected though
2014-03-05 16:04:09 +01:00
palana
d1a6dace57 Make OBS application name less fun 2014-03-04 16:35:39 +01:00
palana
f3e61de4fd Fix stop recording hotkey handler
Setting both start and stop recording hotkeys to the same button would
continuously toggle recording instead of only doing one action until the next
key press
2014-03-04 16:35:39 +01:00
BtbN
266433441e Add XInput trigger-as-buttons support to HandleHotkeys 2014-03-04 15:34:58 +01:00
BtbN
b7c3e9cbeb Check XInput for hotkeys 2014-03-04 14:54:17 +01:00
Richard Stanway
e89558b3f8 Add breakpoint trap for suspicious Sleep calls 2014-03-04 01:41:33 +01:00
palana
9c06b9e603 Modify window title to show 32bit/64bit version 2014-03-03 16:49:11 +01:00
shousa
9af05a3f1d Enabled to select monaural audio
For sites that bit rate is limited
2014-03-03 23:22:40 +09:00
HomeWorld
a7617744cc Have settings panes use the entire available space.
If a pane requires more display space, resize the Settings dialog and the IDC_SUBDIALOG control accordingly.
2014-03-03 09:04:47 +02:00
palana
3d13a9c5e7 Fix clearing first push to talk hotkey if two hotkeys were set
It was possible to bind an unlimited number of push to talk hotkeys via the first
push to talk hotkey edit box, and it was impossible to unbind those hotkeys
without restarting OBS
2014-03-01 14:18:05 +01:00
palana
f63a3b0e5e Align log window contents LTR in RTL locales 2014-02-28 17:50:41 +01:00
palana
fd2eaca19d Swap order of base resolution edit boxes for RTL locales in video settings 2014-02-28 16:59:01 +01:00
palana
cbf2765271 Fix audio settings apply button being trigger unnecessarily
Should now only trigger if the currently configured input device can't be
selected
2014-02-28 04:01:18 +01:00
palana
13a2398ab7 Add publish warning for recommended video aspect ratio
This may reduce the number of users that are confused about black borders in
video players that are constrained to a certain aspect ratio
2014-02-27 20:14:56 +01:00
palana
7c3e22349b Add aspect ratio display to video settings 2014-02-27 20:07:35 +01:00
palana
693ec14bee Remove 'Set base resolution' button from DesktopImageSource config dialogs
Reasons for removal:
- there was no feedback when clicking the button
- missing confirmation/undo for such a fundamental config change
2014-02-27 17:45:37 +01:00
palana
02024ffcca Remove a whole bunch of tabs ...
Someone make Visual Studio remember that OBS1 uses spaces
2014-02-26 15:53:50 +01:00