libavdevice/decklink: add support for 10-bit output for Decklink SDI
authorDevin Heitmueller <dheitmueller@ltnglobal.com>
Fri, 6 Oct 2017 12:55:44 +0000 (08:55 -0400)
committerMarton Balint <cus@passwd.hu>
Tue, 10 Oct 2017 18:07:27 +0000 (20:07 +0200)
commit77f7d710e08635407b3bda2a1505040709ef2a3c
treeac91b031ab7c93a094f683b6c6fdf591157775ea
parent278588cd0bf788df0194f74e62745f68559616f9
libavdevice/decklink: add support for 10-bit output for Decklink SDI

Can be tested via the following command:

./ffmpeg -i foo.ts -f decklink -vcodec v210 'DeckLink Duo (1)'

Note that the 8-bit support works as it did before, and setting
the pix_fmt isn't required for 10-bit mode.  The code defaults to
operating in 8-bit mode when no vcodec is specified, for backward
compatibility.

Updated to reflect feedback from Marton Balint <cus@passwd.hu>

Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_enc.cpp