jp9000
50c61898d0
win-capture: Fall back to creating d3d contexts if offsets bad
2015-11-20 14:07:14 -08:00
jp9000
1755511b2f
win-capture: Hook Reset/ResetEx in Present* funcs
...
The virtual address table values for Reset/ResetEx can sometimes point
to functions that are in libraries outside of D3D8.dll and D3D9.dll, and
will cause a crash if used. Instead, just hook Reset/ResetEx when one
of the Present* functions are called.
2015-11-20 14:06:37 -08:00
jp9000
d1cbb2742e
libobs/util: Use SIGTRAP for os_breakpoint
...
SIGTRAP is the correct value to use to specify a breakpoint.
2015-11-18 18:59:54 -08:00
jp9000
9e17f41caf
libobs/util: Don't perform memalign trick of pointer null
2015-11-18 18:46:21 -08:00
jp9000
d510b629c9
obs-outputs: Fix "sometimes uninitialized" warning
...
Fixes warning (clang):
variable 'added_packet' is used uninitialized whenever 'if' condition is
false [-Wsometimes-uninitialized]
2015-11-18 14:12:54 -08:00
jp9000
f0cf699c50
obs-outputs: Remove stop thread (unnecessary)
...
Since the RTMP_Close was moved to the send thread (where it should have
been) the stop thread now has no real purpose.
2015-11-18 14:00:28 -08:00
jp9000
52d5a9b0b4
libobs/util: Breakpoint crash on "out of memory"
...
This forces proper crash handling to generate a stack trace.
2015-11-18 12:42:15 -08:00
jp9000
fa5c477826
libobs/util: Add os_breakpoint function
2015-11-18 12:42:15 -08:00
jp9000
c629bbe50f
libobs: Always write crashing thread first
2015-11-18 12:42:14 -08:00
jp9000
f05f0592e0
obs-outputs: Don't allow new data if disconnected
2015-11-18 12:42:14 -08:00
jp9000
6a27da9bd7
obs-outputs: Use atomic load functions
2015-11-18 12:42:14 -08:00
jp9000
598ae383bc
libobs/util: Add atomic bool load functions
2015-11-18 12:42:14 -08:00
jp9000
ba7b53f330
obs-outputs: Close stream in send thread
2015-11-18 07:49:51 -08:00
jp9000
ee55dafe24
obs-outputs: Atomically update 'active' variable
2015-11-18 07:48:27 -08:00
jp9000
07254d0390
obs-outputs: Call free_packets in init_connect
...
This may end up being a bit redundant, but it's just to ensure that the
packet buffer is free before connecting.
2015-11-17 07:51:46 -08:00
jp9000
d4df6c191f
obs-outputs: Only log packets remaining if above 0
2015-11-17 07:49:05 -08:00
jp9000
226337a6ca
obs-outputs: Check for recv error
2015-11-16 13:57:06 -08:00
Gol-D-Ace
2ee1d82860
Add latest translations from Crowdin
2015-11-16 21:04:55 +01:00
jp9000
fd591fbd45
libobs-d3d11: Use debug log if duplicator fails to create
...
The duplicator is supposed to be able to safely fail to create, so using
a debug log message is more appropriate.
2015-11-16 11:11:16 -08:00
jp9000
34bbc444eb
UI: Only inhibit when active or if projector open
...
Having sleep or screensavers inhibited at all times was causing some
annoyances for people. Sleep/screensavers are now only inhibited when
the program is active or when a projector is open.
2015-11-16 09:08:55 -08:00
jp9000
14bfa07168
libobs: Fix unsigned expression warning
...
Fixes warning introduced by d7848f3cb7
that pops up in GCC:
warning: comparison of unsigned expression < 0 is always false
[-Wtype-limits]
The proper solution was to use the 64bit integer values with the clamp,
and then convert to a 32bit unsigned integer.
2015-11-16 08:22:55 -08:00
jp9000
717e2b6e66
libobs: Update version to 0.12.1
2015-11-15 09:49:24 -08:00
jp9000
24d217f799
UI: Fix "unreferenced local function" warning
...
Fixes the following warning:
warning C4505: 'operator ==' : unreferenced local function has been
removed
This function actually is used despite this warning, so the only way to
get rid of the warning is to disable the warning itself in this
particular case.
2015-11-15 09:49:23 -08:00
jp9000
d7848f3cb7
libobs: Fix "possible loss of data" warning
...
Fixes the following warning of MSVC:
warning C4244: '=' : conversion from '__int64' to 'uint32_t', possible
loss of data
2015-11-15 09:49:23 -08:00
jp9000
6ba723a997
UI: Fix multi-item selection
...
Allows changing item selection via list box or via preview window, and
keeps their selection status in sync with each other.
2015-11-15 09:49:22 -08:00
jp9000
c1b9901b6a
UI: Add signal blocker helper class
2015-11-15 09:49:14 -08:00
jp9000
7634d1099c
win-capture: Add new game capture patches
2015-11-14 14:25:17 -08:00
Palana
fa2311bc4a
mac-avcapture: Add color space/video range properties
2015-11-14 17:54:18 +01:00
Palana
3d558d65ba
mac-avcapture: Add manual configuration
...
Currently supported settings:
- Resolution
- Frame rate
- Input format
2015-11-14 15:57:21 +01:00
Palana
520f300f0e
mac-avcapture: Refactor code
2015-11-14 15:57:21 +01:00
Palana
ad5aec99ff
libobs: Fix obs_data crash
...
Accessing objects inside obs_datas after obs_data_clear was called on the
parent obs_data causes a NULL dereference.
Reproduce with:
obs_data_t *data = obs_data_create();
obs_data_set_obj(data, "foo", NULL);
obs_data_clear(data);
obs_data_get_obj(data, "foo");
2015-11-14 15:57:21 +01:00
Palana
ddfe6483b3
UI: Add OBS_PROPERTY_FRAME_RATE implementation
2015-11-14 15:57:21 +01:00
Palana
1b078f57d8
libobs: Add frame rate property
2015-11-14 15:37:59 +01:00
Palana
0b3fcb8b6e
libobs: Add obs_data wrappers for media_frames_per_second
2015-11-14 15:37:59 +01:00
Palana
95487c3eec
libobs/media-io: Add frame rate helpers
2015-11-14 15:37:47 +01:00
Palana
f4aae94fe2
UI: Remove "unsupported" part from AutoSelect message
...
The unsupported part should basically be signaled via making that
value inaccessible
2015-11-14 15:34:46 +01:00
Palana
dd825f7d33
UI: Change CenterToScreen shortcut to ctrl+d
2015-11-14 15:34:46 +01:00
Palana
b4928a62ad
mac-avcapture: Move preset properties initialization
2015-11-14 15:34:46 +01:00
Palana
4d9bd7187b
mac-avcapture: Remove obsolete UNUSED_PARAMETER marker
2015-11-14 15:34:46 +01:00
Palana
8a21668477
mac-avcapture: Allow deselecting capture devices
2015-11-14 15:34:46 +01:00
Palana
d1468c186c
mac-avcapture: Clear output when capture is stopped
2015-11-14 15:34:46 +01:00
Palana
f3c33c232d
mac-avcapture: Improve logging (less LOG_ERRORs)
2015-11-14 15:34:46 +01:00
Palana
5eb5453fcc
mac-avcapture: Move to (Objective) C++ + ARC
2015-11-14 15:34:46 +01:00
Palana
8d90c8a44e
mac-avcapture: Remove unnecesary file
2015-11-14 15:34:46 +01:00
Palana
404d600d53
mac-avcapture: Remove unused includes
2015-11-14 15:34:46 +01:00
jp9000
ea69f9cf61
obs-outputs: Call recv when data received
...
Not calling recv when data is received will accumulate data in the
internal recveive buffer until it's full, in which case is will stop
acknowledging. This can lead to unjustified disconnections.
2015-11-11 17:45:02 -08:00
jp9000
a6b69a0704
obs-outputs: Log network interface information (win32)
2015-11-11 16:52:48 -08:00
jp9000
1e1f442a61
libobs/util: Remove unnecessary allocations (win32)
...
Removes unnecessary allocations for the os_event_* and os_sem_*
thread functions
2015-11-11 16:52:48 -08:00
Richard Stanway
94b5bc222b
libobs: Rename create_proccess to create_process
2015-11-06 18:25:53 +01:00
Richard Stanway
3474c61085
win-capture: Use MEM_RESERVE to comply with VirtualAllocEx spec
2015-11-06 18:16:29 +01:00