decklink{audio,video}sink: Only start scheduled playback once both sources are ready...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 28 Jan 2015 14:48:26 +0000 (15:48 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 28 Jan 2015 15:13:16 +0000 (16:13 +0100)
commit4eb5cd915614c25f6bf6eee9366d18dac5cf8bab
tree2a0a5fee8a92a3f8ab56c798f793cd6fba6bb382
parente2ff5587fe36823a8677ce1d3374b9ac8d00e4e5
decklink{audio,video}sink: Only start scheduled playback once both sources are ready and we are in PLAYING

Otherwise we might start the scheduled playback before the audio or video streams are
actually enabled, and then error out later because they are enabled to late.

We enable the streams when getting the caps, which might be *after* we were
set to PLAYING state.
sys/decklink/gstdecklink.h
sys/decklink/gstdecklinkaudiosink.cpp
sys/decklink/gstdecklinkvideosink.cpp
sys/decklink/gstdecklinkvideosrc.cpp