obs-studio/libobs
jp9000 cf28a8af22 libobs: Init source mutexes before calling create
Fixes a crash that could happen if any of the mutexes are used in the
create callback, or before the obs_source_init function is called.

I'm not sure how this function order slipped because it seems fairly
obvious that these mutexes should be created before the create callback.

Had this crash happen to me when creating a WASAPI output source, the
create callback of the WASAPI source creates a thread which outputs
audio, and that thread managed to call obs_source_output_audio before
the obs_source_init function was called, which in turn caused it to try
to use a null mutex.
2015-04-15 16:13:37 -07:00
..
callback (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
data libobs: Don't use 'output' as a keyword in shader 2015-04-10 09:58:04 -07:00
graphics libobs: Always free effect if not cached 2015-04-10 09:48:55 -07:00
media-io libobs: Fix full range min/max output 2015-04-10 07:27:26 -07:00
util libobs: Use locale-independent double conversion 2015-03-22 19:18:07 -07:00
CMakeLists.txt libobs: avoid using to w32-pthreads for mingw-w64 2015-02-09 03:41:37 -08:00
LibObsConfig.cmake.in cmake: Export plugin data destination 2014-09-27 09:41:32 -07:00
LibObsConfigVersion.cmake.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
obs-audio-controls.c (API Change) Always use planar float audio output 2015-03-12 22:22:02 -07:00
obs-audio-controls.h libobs: Add peak hold property to volmeter 2014-12-14 18:39:54 +01:00
obs-avc.c libobs: Add function to determine AVC keyframes 2014-12-21 10:14:22 -08:00
obs-avc.h libobs: Add function to determine AVC keyframes 2014-12-21 10:14:22 -08:00
obs-cocoa.c Revert "libobs: Add UI-independent plugin search paths" 2015-04-03 19:54:36 -07:00
obs-config.h Update to 0.9.1 2015-03-27 12:24:54 -07:00
obs-data.c libobs: Removed unused parameter and variable 2015-02-04 15:40:21 -08:00
obs-data.h libobs: Add obs_data_clear to clear settings 2015-01-24 22:09:24 -08:00
obs-defs.h Change macro to MODULE_MISSING_EXPORTS for clarity 2014-07-27 17:28:35 -07:00
obs-display.c libobs: Add func to set display background color 2015-04-10 07:27:23 -07:00
obs-encoder.c libobs: Fix multi. video encoder sync issues 2015-02-10 22:10:41 -08:00
obs-encoder.h (API Change) Add support for multiple audio mixers 2015-02-04 16:51:29 -08:00
obs-ffmpeg-compat.h Use propper ffmpeg compatiblity instead of relying on deprecated functions 2014-06-28 20:54:14 +02:00
obs-interaction.h Add interaction support to libobs 2014-09-15 17:19:37 -05:00
obs-internal.h libobs: Fix async texture data race 2015-04-10 19:16:18 -07:00
obs-module.c libobs: Mark audio filters as async 2015-03-25 10:03:20 -07:00
obs-module.h Some documentation improvements in obs-module.h 2014-10-19 15:00:07 +02:00
obs-nix.c Revert "Merge pull request #410 from bazukas/nix-modules" 2015-04-03 19:54:03 -07:00
obs-output.c libobs: Fix multi. video encoder sync issues 2015-02-10 22:10:41 -08:00
obs-output.h (API Change) Add support for multiple audio mixers 2015-02-04 16:51:29 -08:00
obs-properties.c libobs: Add int/float slider properties 2015-03-22 19:18:06 -07:00
obs-properties.h libobs: Add int/float slider properties 2015-03-22 19:18:06 -07:00
obs-scene.c libobs: Use default blend state with scenes 2015-03-27 11:22:58 -07:00
obs-scene.h Scenes: Implement more item positioning features 2014-06-15 20:33:13 -07:00
obs-service.c (API Change) Fix "apply service settings" functions 2015-03-07 16:32:00 -08:00
obs-service.h (API Change) Fix "apply service settings" functions 2015-03-07 16:32:00 -08:00
obs-source.c libobs: Init source mutexes before calling create 2015-04-15 16:13:37 -07:00
obs-source.h libobs: Add filter_remove callback for sources 2015-03-25 10:03:04 -07:00
obs-ui.h Revamp API and start using doxygen 2014-02-12 08:04:50 -07:00
obs-video.c libobs: Use bilinear low res scale effect 2015-04-10 07:27:25 -07:00
obs-view.c libobs: Hide sources when an obs_view is destroyed 2015-03-02 12:23:25 -08:00
obs-win-crash-handler.c Remove various unused variables 2015-02-09 03:49:13 -08:00
obs-windows.c Revert "libobs: Add UI-independent plugin search paths" 2015-04-03 19:54:36 -07:00
obs.c libobs: Add low resolution bilinear scale effect 2015-04-10 07:27:24 -07:00
obs.h libobs: Add low resolution bilinear scale effect 2015-04-10 07:27:24 -07:00
obs.hpp Fix OBSRef move assignment not releasing the previous reference 2014-10-29 16:17:07 +01:00
obsconfig.h.in Export plugin destination and relative prefix to obsconfig.h 2014-07-26 14:27:39 +02:00