obs-studio/plugins/obs-ffmpeg
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
..
data/locale Remove double spaces from localization 2019-04-08 16:02:32 +02:00
ffmpeg-mux obs-ffmpeg: Move ffmpeg-mux to executable dir 2019-04-26 13:24:34 -07:00
closest-pixel-format.h obs-ffmpeg: Add support for YUV 4:4:4 2015-04-18 00:03:14 -07:00
CMakeLists.txt obs-ffmpeg: Add texture-based NVENC encoder implementation 2019-02-07 17:00:47 -08:00
dynlink_cuda.h obs-ffmpeg: Improve NVENC detection 2018-01-18 01:35:45 -08:00
jim-nvenc-helpers.c obs-ffmpeg: Show encoder name when logging jim-nvenc 2019-03-28 16:38:14 -07:00
jim-nvenc.c obs-ffmpeg: Fix jim-nvenc initial DTS for fractional FPS 2019-05-02 12:45:17 -07:00
jim-nvenc.h obs-ffmpeg: Show encoder name when logging jim-nvenc 2019-03-28 16:38:14 -07:00
nvEncodeAPI.h obs-ffmpeg: Update nvEncodeAPI.h to latest version 2019-02-07 17:00:47 -08:00
obs-ffmpeg-audio-encoders.c obs-ffmpeg: fill in more fields on audio frames 2018-04-18 13:13:48 -07:00
obs-ffmpeg-compat.h libobs: Fix FFmpeg constants 2017-11-16 21:38:37 -08:00
obs-ffmpeg-formats.h libobs: Add Y800 color format support 2016-03-24 03:33:35 -07:00
obs-ffmpeg-mux.c libobs: Fix lockup when an encode call fails 2019-05-17 01:51:12 -07:00
obs-ffmpeg-nvenc.c UI: Add ability to set properties spinbox suffix 2019-05-02 08:54:14 -07:00
obs-ffmpeg-output.c obs-ffmpeg: Add logging of last error for passing to UI 2019-04-19 05:45:38 -07:00
obs-ffmpeg-source.c obs-ffmpeg: Bind network buffer size in the UI 2018-12-10 01:50:28 +01:00
obs-ffmpeg-vaapi.c obs-ffmpeg: Fix VAAPI CBR 2019-05-11 17:20:24 -07:00
obs-ffmpeg.c Merge pull request #1675 from admshao/clear-linux-compiling-warnings 2019-04-14 04:21:21 -07:00