decklink: Correctly set top-field-first/bottom-field-first
authorSebastian Dröge <sebastian@centricular.com>
Mon, 28 Nov 2016 15:17:43 +0000 (17:17 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 28 Nov 2016 15:19:26 +0000 (17:19 +0200)
commitfdf1a57953a8e9f411180a1fe3d6e67bad669049
tree4c39c9243ade7b465dbed2905f6c78931e7ab813
parentaec46143bb3ddb59b58f509863f716d4bc54dd2a
decklink: Correctly set top-field-first/bottom-field-first

First of all, all the HD and UHD modes should be top-field-first, as
also returned by the Decklink mode iterator API.

Then we should include the caps field "field-order" in the caps of the
source (not the sink due to negotiation problems with optional fields).

And finally we should set the TFF flag on interlaced buffers that are
top-field-first.
sys/decklink/gstdecklink.cpp
sys/decklink/gstdecklink.h
sys/decklink/gstdecklinkvideosink.cpp
sys/decklink/gstdecklinkvideosrc.cpp