diff options
author | Matthias Hunstock <atze@fem.tu-ilmenau.de> | 2015-12-20 11:57:32 +0000 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-02-03 00:34:26 +0100 |
commit | e9025573faf69416fcc29a689447e3296c3eaf58 (patch) | |
tree | d2eb65fafb2272a3ee8f244eb2e50e10697f695c /libavdevice/decklink_dec_c.c | |
parent | 5fc310f7ca2a5c76da8daadb38f2a4698bfb90b8 (diff) | |
download | ffmpeg-e9025573faf69416fcc29a689447e3296c3eaf58.tar.gz |
decklink: support all valid numbers of audio channels
As it is already written in the documentation, BMD DeckLink cards
are capable of capturing 2, 8 or 16 audio channels (for SDI Inputs).
Currently the value is hardcoded to 2. Introduces new option.
Reviewed-by: Deti Fliegl <deti@fliegl.de>
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 e5d6bc040f..40c21a753b 100644 --- a/libavdevice/decklink_dec_c.c +++ b/libavdevice/decklink_dec_c.c @@ -35,6 +35,7 @@ static const AVOption options[] = { { "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"}, { "all", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 0x7ffffffffLL}, 0, 0, DEC, "teletext_lines"}, + { "channels", "number of audio channels", OFFSET(audio_channels), AV_OPT_TYPE_INT , { .i64 = 2 }, 2, 16, DEC }, { NULL }, }; |