OBS Studio - Free and open source software for live streaming and screen recording
Go to file
Richard Stanway 3dbfa4919a libobs: Add stop_audio function, change shutdown order
This fixes a crash that could occur during freeing of sources, as the
audio subsystem was destroyed before sources were released. If a source
had monitoring enabled, it would try to lock a mutex that has been
destroyed, resulting in a crash.

Freeing audio after obs_free_data was also not a solution, as the main
view is freed in obs_free_data, and the audio subsystem is still running
and trying to lock the main view channel mutex which has been freed.

This seems to be the best middle ground, making sure the audio subsystem
is stopped so it no longer tries to access the main view channel, then
freed after obs_free_data.

Fixes https://github.com/obsproject/obs-studio/issues/4409
2021-07-24 22:34:44 +02:00
.github CI: Bump dmgbuild to 1.5.2 to fix detach error 2021-06-03 00:43:13 +10:00
additional_install_files Improve additional_install_files for debug/release 2014-07-18 22:41:11 -07:00
CI flatpak: Remove D-Bus permissions to talk to session managers 2021-07-18 14:04:44 -07:00
cmake cmake: Fix Detours package name CMake warning 2021-05-20 16:54:01 -07:00
deps libobs,deps/media-playback: Avoid bitfields 2021-06-11 07:02:37 -07:00
docs/sphinx libobs: Plumb texcoord hint to reduce GPU cost 2021-07-11 08:26:29 -07:00
libobs libobs: Add stop_audio function, change shutdown order 2021-07-24 22:34:44 +02:00
libobs-d3d11 libobs-d3d11: Relax texture format copy check 2021-07-11 08:26:29 -07:00
libobs-opengl libobs-opengl: Fix GS_R10G10B10A2 format 2021-07-11 08:26:29 -07:00
libobs-winrt libobs-winrt, win-capture: Linear SRGB support 2021-07-11 08:26:30 -07:00
plugins decklink: Add destructor for OBSVideoFrame, initialize flags 2021-07-24 22:34:44 +02:00
test decklink: Clean up warnings introduced by caption code 2020-11-03 17:00:14 -08:00
UI UI: Initialize Studio mode after loading scenes 2021-07-24 22:34:44 +02:00
.cirrus.yml CI: Fix swig dependency on FreeBSD 2020-10-03 05:38:46 -07:00
.clang-format Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
.editorconfig .editorconfig: Add file to speed up editor configuration 2017-06-14 21:35:09 -05:00
.git-blame-ignore-revs .git-blame-ignore-revs: Add file to handle mass reformatting 2019-06-27 01:09:31 +09:00
.gitattributes .gitattributes: Normalize en-US.ini 2021-01-11 11:27:35 -08:00
.gitignore .gitignore: Remove duplicated .DS_Store 2021-01-18 15:13:03 -08:00
.gitmodules enc-amf: Update to 2.5.0.1 and update repository address 2018-09-28 10:54:19 +02:00
.mailmap .mailmap: Disambiguate many more authors 2021-01-11 17:45:01 -08:00
AUTHORS Update translations from Crowdin 2021-06-11 07:18:15 -07:00
CMakeLists.txt cmake: Enable full optimizations for RelWithDebInfo MSVC builds 2021-07-04 05:26:38 -07:00
COMMITMENT Add GPL Cooperation Commitment to base directory 2019-01-24 02:02:49 -05:00
CONTRIBUTING.rst docs: Remove block quotes (#4621) 2021-05-01 19:46:54 -05:00
COPYING deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
formatcode.sh CI: Build on Ubuntu 18.04, use newer clang-format 2021-02-22 02:10:34 -08:00
INSTALL Update INSTALL 2018-07-14 08:21:00 +01:00
README.rst docs: Remove block quotes (#4621) 2021-05-01 19:46:54 -05:00

OBS Studio <https://obsproject.com>
===================================

.. image:: https://github.com/obsproject/obs-studio/actions/workflows/main.yml/badge.svg?branch=master&event=push
   :alt: OBS Studio Build Status - GitHub Actions
   :target: https://github.com/obsproject/obs-studio/actions/workflows/main.yml?query=event%3Apush+branch%3Amaster

.. image:: https://d322cqt584bo4o.cloudfront.net/obs-studio/localized.svg
   :alt: OBS Studio Translation Project Progress
   :target: https://crowdin.com/project/obs-studio

.. image:: https://img.shields.io/discord/348973006581923840.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2
   :alt: OBS Studio Discord Server
   :target: https://obsproject.com/discord

What is OBS Studio?
-------------------

OBS Studio is software designed for capturing, compositing, encoding,
recording, and streaming video content, efficiently.

It's distributed under the GNU General Public License v2 (or any later
version) - see the accompanying COPYING file for more details.

Quick Links
-----------

- Website: https://obsproject.com

- Help/Documentation/Guides: https://github.com/obsproject/obs-studio/wiki

- Forums: https://obsproject.com/forum/

- Build Instructions: https://github.com/obsproject/obs-studio/wiki/Install-Instructions

- Developer/API Documentation: https://obsproject.com/docs

- Donating/backing/sponsoring: https://obsproject.com/contribute

- Bug Tracker: https://github.com/obsproject/obs-studio/issues

Contributing
------------

- If you would like to help fund or sponsor the project, you can do so
  via `Patreon <https://www.patreon.com/obsproject>`_, `OpenCollective
  <https://opencollective.com/obsproject>`_, or `PayPal
  <https://www.paypal.me/obsproject>`_.  See our `contribute page
  <https://obsproject.com/contribute>`_ for more information.

- If you wish to contribute code to the project, please make sure to
  read the coding and commit guidelines:
  https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst

- Developer/API documentation can be found here:
  https://obsproject.com/docs

- If you wish to contribute translations, do not submit pull requests.
  Instead, please use Crowdin.  For more information read this thread:
  https://obsproject.com/forum/threads/how-to-contribute-translations-for-obs.16327/

- Other ways to contribute are by helping people out with support on
  our forums or in our community chat.  Please limit support to topics
  you fully understand -- bad advice is worse than no advice.  When it
  comes to something that you don't fully know or understand, please
  defer to the official help or official channels.