aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/decklink_enc.cpp
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-02-18 02:33:05 +0100
committerMarton Balint <cus@passwd.hu>2017-02-26 22:47:33 +0100
commit48f8ad329010a93c323569cad695090a5930277b (patch)
treef3c6e15ec45c3afc7eae467bbe5d0b34f70c5815 /libavdevice/decklink_enc.cpp
parente0eb0bdab94837e8557c139685fd997755b36178 (diff)
downloadffmpeg-48f8ad329010a93c323569cad695090a5930277b.tar.gz
avdevice/decklink_enc: add support to specify field order
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_enc.cpp')
-rw-r--r--libavdevice/decklink_enc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/decklink_enc.cpp b/libavdevice/decklink_enc.cpp
index 944e9d3799..8fb6a9cb26 100644
--- a/libavdevice/decklink_enc.cpp
+++ b/libavdevice/decklink_enc.cpp
@@ -105,8 +105,8 @@ static int decklink_setup_video(AVFormatContext *avctx, AVStream *st)
return -1;
}
if (ff_decklink_set_format(avctx, c->width, c->height,
- st->time_base.num, st->time_base.den)) {
- av_log(avctx, AV_LOG_ERROR, "Unsupported video size or framerate!"
+ st->time_base.num, st->time_base.den, c->field_order)) {
+ av_log(avctx, AV_LOG_ERROR, "Unsupported video size, framerate or field order!"
" Check available formats with -list_formats 1.\n");
return -1;
}