decklinkaudiosink: Fix playback when video caps is configured before audio
authorSeungha Yang <seungha@centricular.com>
Fri, 7 Apr 2023 13:13:24 +0000 (22:13 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 7 Apr 2023 23:00:16 +0000 (00:00 +0100)
commit5f17cb9f3df5cf8450051ebfe6c343e076c1ab5d
treee916e20cbc602fdf3276a7de857ae80963caaa4f
parent1ff0e6d30510610c437241e1fa3bfc5006debe39
decklinkaudiosink: Fix playback when video caps is configured before audio

Scheduled playback starts on videosink's state change or on caps
but it's possible that audiosink is configure without caps yet.
Try start scheduled playback on audiosink's caps event as well

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4368>
subprojects/gst-plugins-bad/sys/decklink/gstdecklinkaudiosink.cpp