0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
obs-studio/plugins/decklink
jp9000 4330021617 decklink: Use unbuffered by default, and decouple
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
b63e4b055e).  Because decklink drivers treats the audio and video as
essentially decoupled, we must also treat it as decoupled.  This is what
was causing video/audio to drift out of sync over time.
2017-10-10 07:04:21 -07:00
..
data/locale Update translations from Crowdin 2017-08-10 16:07:40 +02:00
linux decklink: Add option to disable the plugin 2017-05-10 22:43:15 +02:00
mac decklink: Add option to disable the plugin 2017-05-10 22:43:15 +02:00
win decklink: Add option to disable the plugin 2017-05-10 22:43:15 +02:00
audio-repack.c decklink: Remove unused variables to fix warning 2017-05-10 22:47:58 +02:00
audio-repack.h decklink: Add option to select channel format 2017-04-07 19:56:28 -07:00
audio-repack.hpp decklink: Add option to select channel format 2017-04-07 19:56:28 -07:00
decklink-device-discovery.cpp libobs: Reduce unnecessary logging (info -> debug) 2016-08-05 18:59:32 -07:00
decklink-device-discovery.hpp decklink: Add Blackmagic DeckLink capture plugin 2015-03-21 16:40:05 -07:00
decklink-device-instance.cpp decklink: Use unbuffered by default, and decouple 2017-10-10 07:04:21 -07:00
decklink-device-instance.hpp decklink: Add feature to detect resolution/format 2017-06-29 15:42:04 -07:00
decklink-device-mode.cpp decklink: Add feature to detect resolution/format 2017-06-29 15:42:04 -07:00
decklink-device-mode.hpp decklink: Add feature to detect resolution/format 2017-06-29 15:42:04 -07:00
decklink-device.cpp decklink: Add feature to detect resolution/format 2017-06-29 15:42:04 -07:00
decklink-device.hpp decklink: Fix compiler warning about ignored const 2017-05-10 22:43:15 +02:00
decklink.cpp decklink: Add feature to detect resolution/format 2017-06-29 15:42:04 -07:00
decklink.hpp decklink: Use unbuffered by default, and decouple 2017-10-10 07:04:21 -07:00
platform.hpp decklink: Add feature to detect resolution/format 2017-06-29 15:42:04 -07:00
plugin-main.cpp decklink: Use unbuffered by default, and decouple 2017-10-10 07:04:21 -07:00