decklinkvideosink: Always configure 10 bit YUV for VANC frames
authorSebastian Dröge <sebastian@centricular.com>
Wed, 8 Jan 2020 05:42:21 +0000 (07:42 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jan 2020 10:54:04 +0000 (12:54 +0200)
commite4389146d9cf32a25998d352d351b3b71e13231b
tree404a5e85c879355105b0a6712a3d2146faa5e6da
parent04c5a550adae36e831b6f457ca72c9a130f3c4b6
decklinkvideosink: Always configure 10 bit YUV for VANC frames

If 8 bit are required by the device/mode then it will be converted internally
by the SDK, but the SDK won't automatically convert from 8 to 10 bit. As
such, always use 10 bit VANC.

Some devices require configuring also a 10 bit video format when using
10 bit VANC is required but those would fail regardless and the
application would have to configure the correct video format.

With newer versions of the SDK this information can be retrieved via the
BMDDeckLinkVANCRequires10BitYUVVideoFrames flag but we don't use a new
enough SDK version yet to extract this information.
sys/decklink/gstdecklinkvideosink.cpp