decklinkaudiosink: Drop late buffers
authorMatthew Waters <matthew@centricular.com>
Wed, 21 Aug 2019 11:35:30 +0000 (06:35 -0500)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 2 Sep 2019 11:09:02 +0000 (11:09 +0000)
commit82e23a27f7d85f77adf9f15c0cb20be3028607dd
treeb42d985397be6ddbbba97fa6b9c6d52a9a1c8a4f
parente31c1423b7587db3c867d2a0385978a2c0d201db
decklinkaudiosink: Drop late buffers

Asking decklink to render audio data seems to be based entirely on
the sample counts which completely disregards the timestamps
we pass to decklink.  As a result, we need to explicitly check
for late buffers and drop them ourselves.
sys/decklink/gstdecklinkaudiosink.cpp