decklinkaudiosrc/decklinkvideosrc: Do nothing in BaseSrc::negotiate() and always...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 6 Aug 2019 18:44:35 +0000 (21:44 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 12 Aug 2019 12:15:32 +0000 (13:15 +0100)
commit35261c1fe548342af166b963bb358015ae4b3ab6
treeaa58861d2474bd6efed90393b836091067aeb01a
parent01dfaeb63a45089cd73fe83a4d5bc276369e0f9d
decklinkaudiosrc/decklinkvideosrc: Do nothing in BaseSrc::negotiate() and always set caps in ::create()

We don't support negotiation with downstream but simply set caps based
on the buffers we receive. This prevents renegotiation to other formats,
and negotiation to NTSC in mode=auto in the beginning until the first
buffer is received.

As side-effect of this, also remove various other caps handling code
that was working around the behaviour of the default
BaseSrc::negotiate().
sys/decklink/gstdecklinkaudiosrc.cpp
sys/decklink/gstdecklinkvideosrc.cpp