summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_dec_c.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-01-12 03:09:37 +0100
committerMarton Balint <cus@passwd.hu>2016-01-29 01:42:15 +0100
commit995c7a6f5ad480d706b22e97609e2cce2f305e4b (patch)
tree292c406bb2219f41f9fb69ae49495ff36b333385 /libavdevice/decklink_dec_c.c
parent98e94dff7a59972879ad149e313b5b8535bd4d1a (diff)
lavd/decklink_dec: add support for teletext
It uses the libzvbi slicer, therefore teletext capture requires libzvbi. Reviewed-by: Deti Fliegl <deti@fliegl.de> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_dec_c.c')
-rw-r--r--libavdevice/decklink_dec_c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c
index b1a65e6877..e5d6bc040f 100644
--- a/libavdevice/decklink_dec_c.c
+++ b/libavdevice/decklink_dec_c.c
@@ -32,6 +32,9 @@ 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 },
{ "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"},
+ { "all", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 0x7ffffffffLL}, 0, 0, DEC, "teletext_lines"},
{ NULL },
};