diff options
author | Matthias Hunstock <atze@fem.tu-ilmenau.de> | 2017-03-20 00:16:37 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2017-03-22 02:07:50 +0100 |
commit | b3a2adaac6526428843a1fa74eb9f896e898a78a (patch) | |
tree | 4cb0f336b40ffc5e21212c8f0f901bd47d438a93 /libavdevice/decklink_dec_c.c | |
parent | 607bffbed2872641b7f63127934f0398041fa55e (diff) | |
download | ffmpeg-streaming-b3a2adaac6526428843a1fa74eb9f896e898a78a.zip ffmpeg-streaming-b3a2adaac6526428843a1fa74eb9f896e898a78a.tar.gz |
avdevice/decklink: new option 'format_code' to set video format by fourCC
Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_dec_c.c')
-rw-r--r-- | libavdevice/decklink_dec_c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c index 31818d2..5b26d12 100644 --- a/libavdevice/decklink_dec_c.c +++ b/libavdevice/decklink_dec_c.c @@ -31,6 +31,7 @@ static const AVOption options[] = { { "list_devices", "list available devices" , OFFSET(list_devices), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, { "list_formats", "list supported formats" , OFFSET(list_formats), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, + { "format_code", "set format by fourcc" , OFFSET(format_code), AV_OPT_TYPE_STRING, { .str = NULL}, 0, 0, DEC }, { "bm_v210", "v210 10 bit per channel" , OFFSET(v210), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, { "teletext_lines", "teletext lines bitmask", OFFSET(teletext_lines), AV_OPT_TYPE_INT64, { .i64 = 0 }, 0, 0x7ffffffffLL, DEC, "teletext_lines"}, { "standard", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 0x7fff9fffeLL}, 0, 0, DEC, "teletext_lines"}, |