decklink: wait for stop with a timeout
authorMatthew Waters <matthew@centricular.com>
Wed, 12 Sep 2018 10:29:09 +0000 (05:29 -0500)
committerMatthew Waters <matthew@centricular.com>
Wed, 12 Sep 2018 11:17:13 +0000 (21:17 +1000)
commit946cbbccc15f707857a550065fa7ba0028e4d627
treee134785580b0dc26370870b097acb6eb1f1c5145
parentbf849e9a69442f7a6f9d4f0a1ef30d5a8009f689
decklink: wait for stop with a timeout

Decklink sometimes does not notify us through the callback that it has
stopped scheduled playback either because it was uncleanly shutdown
without an explicit stop or for unknown other reasons.

Wait on the cond for a short amount of time before checking if scheduled
playback has stopped without notification.

https://bugzilla.gnome.org/show_bug.cgi?id=797130
sys/decklink/gstdecklinkvideosink.cpp