mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 21:13:04 +02:00
4330021617
Use unbuffered async mode by default, and when in unbuffered mode,
decouple audio/video so that audio plays as soon as it's received.
This is a workaround for decklink device drivers having unreliable
video/audio timestamps (audio/video sync drifting over time). From
testing, it seems that the handling of video and audio is completely
separate in the driver; along with the timestamp calculations. For
example, when the thread of the decklink audio callback is stalled, it
would cause the timestamps of the audio alone to go out of sync, which
indicates timestamps are calculated more or less on the spot independent
of what video is doing (which is how we replicated the issue fixed by
|
||
---|---|---|
.. | ||
data/locale | ||
linux | ||
mac | ||
win | ||
audio-repack.c | ||
audio-repack.h | ||
audio-repack.hpp | ||
decklink-device-discovery.cpp | ||
decklink-device-discovery.hpp | ||
decklink-device-instance.cpp | ||
decklink-device-instance.hpp | ||
decklink-device-mode.cpp | ||
decklink-device-mode.hpp | ||
decklink-device.cpp | ||
decklink-device.hpp | ||
decklink.cpp | ||
decklink.hpp | ||
platform.hpp | ||
plugin-main.cpp |