obs-studio/plugins/image-source
Richard Stanway 4ec875485d image-source: Don't check for changes when hidden
If an image source isn't visible there is no point polling for changes
during the time it's hidden as no one will see them. Should the image
be on unreachable media such as an unavailable network share, this
check would cause the graphics thread to periodically stall trying to
detect changes of a non-visible image source.

If the image is modified while it's hidden, the updated file will now
be loaded as soon as the source is made visible - the update timer
intentionally ticks up while hidden.

Partially fixes some of the behavior described in
https://github.com/obsproject/obs-studio/issues/3007, a full fix
likely requires significant changes to support OS-specific file change
notification APIs.
2020-06-01 23:40:22 +02:00
..
data/locale Update translations from Crowdin 2020-03-16 20:14:50 +01:00
CMakeLists.txt cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
color-source.c libobs: Fix source type versioning system 2020-03-09 06:12:22 -07:00
image-source.c image-source: Don't check for changes when hidden 2020-06-01 23:40:22 +02:00
obs-slideshow.c obs-plugins: Check if sources are showing for media hotkeys 2020-04-26 21:57:01 -05:00