avdevice/decklink_enc: add support for setting duplex mode

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint
2018-09-06 22:46:18 +02:00
parent f55d987bad
commit bd3c27fd7a
4 changed files with 10 additions and 1 deletions

View File

@@ -395,6 +395,7 @@ av_cold int ff_decklink_write_header(AVFormatContext *avctx)
ctx->list_devices = cctx->list_devices;
ctx->list_formats = cctx->list_formats;
ctx->preroll = cctx->preroll;
ctx->duplex_mode = cctx->duplex_mode;
cctx->ctx = ctx;
/* List available devices and exit. */