obs-studio/libobs
jp9000 6e22ac41b8 libobs: Swap async source frames in tick
Async frames are only swapping when rendering, or when not visible.
This is a flawed design due to the fact that there are certain
circumstances where the source is neither visible nor currently
rendering.

This is what caused a memory leak when scene items were marked as
invisible, because if a source has an async child source and decides not
to render that source for whatever reason, the child source would not
process the async frames at all, and the cache would just grow.

To fix this, simply moving the async frame cycle to tick fixes the issue
due to the fact that tick is always called regardless of circumstance.
2015-03-26 22:59:48 -07:00
..
callback (API Change) Use const params where applicable 2014-09-26 17:23:07 -07:00
data libobs: Add obs_get_opaque_effect function 2015-03-22 19:18:04 -07:00
graphics libobs: Use locale-independent double conversion 2015-03-22 19:18:07 -07:00
media-io (API Change) Add support for multiple audio mixers 2015-02-04 16:51:29 -08: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 libobs: Add UI-independent plugin search paths 2015-02-08 00:55:26 -08:00
obs-config.h libobs: Update version number to 0.9.0 2015-03-25 14:14:41 -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 (API Change) Use const params where applicable 2014-09-26 17:23:07 -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: Swap async source frames in tick 2015-03-26 22:59:48 -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 Merge pull request #326 from azatoth/plugin_lib 2015-01-10 23:50:25 -08: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: Add API to hide/show scene items 2015-03-25 10:03:16 -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: Swap async source frames in tick 2015-03-26 22:59:48 -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: Fix calculation copying aligned textures 2015-01-14 14:57:27 -08: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 libobs: fix warning when logging the win version 2015-02-09 03:41:49 -08:00
obs.c libobs: Add API to mute/unmute sources 2015-03-25 10:03:13 -07:00
obs.h libobs: Simplify comment 2015-03-25 10:03:18 -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