decklinkaudiosink: Drop late buffers
authorMatthew Waters <matthew@centricular.com>
Wed, 21 Aug 2019 11:35:30 +0000 (06:35 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 2 Sep 2019 13:16:23 +0000 (14:16 +0100)
commitdf1140c3de904174d60cac10be856fa654014f53
treebe0b5e4d56405188940a053e3bd9a74e964bf3ff
parent01fc474ac2a273aef4266bf1fd8019ece4638bd7
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