obs-studio/docs/sphinx
jp9000 973d31b8c2 libobs: Fix lockup when an encode call fails
(This commit also modifies the UI, obs-ffmpeg, and obs-output modules)

Fixes a long-time regression where the program would lock up if an
encode call fails.  Shuts down all outputs associated with the failing
encoder and displays an error message to the user.

Ideally, it would be best if a more detailed error could be displayed to
the user about the nature of the error, though the primary problem is
the encoder errors are typically not something the user would be able to
understand.  The current message is a bit of a generic error message;
improvement is welcome.

Another suggestion is to try to have the encoder restart seamlessly,
though it would take a significant amount of work to be able to make it
do something like that properly, and it sort of assumes that encoder
failures are sporadic, which may not necessarily be the case with some
hardware encoders on some systems.  It may be better just to use another
encoder in that case.  For now, seamless restart is ruled out.
2019-05-17 01:51:12 -07:00
..
_build docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
_static docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
_templates docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
backend-design.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
conf.py docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
frontends.rst libobs: Add obs_render_main_texture 2018-01-01 18:52:47 -08:00
graphics.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
index.rst docs/sphinx: Add scripting documentation 2018-01-04 11:37:43 -08:00
make.bat docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
Makefile docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
plugins.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-core-objects.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-core.rst libobs: Add functions to get raw video output 2018-04-23 10:58:30 -07:00
reference-encoders.rst libobs: Add function to get encoder object's defaults 2018-07-20 01:49:32 -07:00
reference-frontend-api.rst Merge pull request #1873 from Palakis/feature/frontend-api-studio-mode-transition 2019-05-09 19:24:59 -07:00
reference-libobs-callback.rst libobs/callback: Add signal reference counting 2018-06-03 15:04:03 -07:00
reference-libobs-graphics-axisang.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-effects.rst docs/sphinx: Add annotation api functions 2018-09-08 05:22:12 -07:00
reference-libobs-graphics-graphics.rst docs/sphinx: Clarify vertex buffer usage 2018-01-14 05:31:28 -08:00
reference-libobs-graphics-image-file.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-math.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-matrix4.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-quat.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-vec2.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-vec3.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-graphics-vec4.rst docs/sphinx: Fix vec3_set 2018-01-04 18:03:21 -08:00
reference-libobs-graphics.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-media-io.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-base.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-bmem.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-circlebuf.rst libobs/util: Add funcs to push zeroed data to circlebufs 2017-12-02 13:52:40 -08:00
reference-libobs-util-config-file.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-darray.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-dstr.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-platform.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-profiler.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-serializers.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-text-lookup.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util-threading.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-libobs-util.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-modules.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-outputs.rst libobs: Fix lockup when an encode call fails 2019-05-17 01:51:12 -07:00
reference-properties.rst libobs: Fix property text typo 2018-02-27 05:37:40 -08:00
reference-scenes.rst docs/sphinx: Add missing obs_sceneitem_get_id info 2018-09-18 21:34:44 +12:00
reference-services.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
reference-settings.rst docs/sphinx: Add scripting documentation 2018-01-04 11:37:43 -08:00
reference-sources.rst docs/sphinx: Add sphinx documentation 2017-11-27 03:02:04 -08:00
scripting.rst docs/sphinx: Fix typo in script sources section 2018-05-02 03:23:00 +08:00