diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-08-09 08:15:02 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-08-16 10:00:39 +0800 |
commit | 5f3df7afa6425d8c7d49340c91243d99336eb27e (patch) | |
tree | 2b0ac8ca332db157ac3a3ea8590bb2223d5d1ff1 /libavdevice/decklink_enc_c.c | |
parent | b923bfc679358fe109ca66b6ddf9d08ad0e19b7e (diff) | |
download | ffmpeg-5f3df7afa6425d8c7d49340c91243d99336eb27e.tar.gz |
avdevice/decklink: add sqd configuration option
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavdevice/decklink_enc_c.c')
-rw-r--r-- | libavdevice/decklink_enc_c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavdevice/decklink_enc_c.c b/libavdevice/decklink_enc_c.c index 4d191d83ac..4bcdbfea2d 100644 --- a/libavdevice/decklink_enc_c.c +++ b/libavdevice/decklink_enc_c.c @@ -40,6 +40,10 @@ static const AVOption options[] = { { "single" , NULL , 0 , AV_OPT_TYPE_CONST , { .i64 = 1 }, 0, 0, ENC, "link"}, { "dual" , NULL , 0 , AV_OPT_TYPE_CONST , { .i64 = 2 }, 0, 0, ENC, "link"}, { "quad" , NULL , 0 , AV_OPT_TYPE_CONST , { .i64 = 3 }, 0, 0, ENC, "link"}, + { "sqd" , "set Square Division" , OFFSET(sqd) , AV_OPT_TYPE_INT, { .i64 = -1 }, -1,1, ENC, "sqd"}, + { "unset" , NULL , 0 , AV_OPT_TYPE_CONST , { .i64 = -1 }, 0, 0, ENC, "sqd"}, + { "false" , NULL , 0 , AV_OPT_TYPE_CONST , { .i64 = 0 }, 0, 0, ENC, "sqd"}, + { "true" , NULL , 0 , AV_OPT_TYPE_CONST , { .i64 = 1 }, 0, 0, ENC, "sqd"}, { "timing_offset", "genlock timing pixel offset", OFFSET(timing_offset), AV_OPT_TYPE_INT, { .i64 = INT_MIN }, INT_MIN, INT_MAX, ENC, "timing_offset"}, { "unset" , NULL , 0 , AV_OPT_TYPE_CONST, { .i64 = INT_MIN }, 0, 0, ENC, "timing_offset"}, { NULL }, |