X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdecklink_dec_c.c;h=99439f91ae08b4e1d7bcd3892f06ba2837068752;hb=c991e9cd91845044e93a9c89dd25b48ae707461b;hp=6ab3819375b278ce6a2f07b307d5f7952630aeb5;hpb=0946c0ec177dc48ef0677f890aa42d95e667c417;p=ffmpeg diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c index 6ab3819375b..99439f91ae0 100644 --- a/libavdevice/decklink_dec_c.c +++ b/libavdevice/decklink_dec_c.c @@ -84,11 +84,13 @@ static const AVOption options[] = { { "queue_size", "input queue buffer size", OFFSET(queue_size), AV_OPT_TYPE_INT64, { .i64 = (1024 * 1024 * 1024)}, 0, INT64_MAX, DEC }, { "audio_depth", "audio bitdepth (16 or 32)", OFFSET(audio_depth), AV_OPT_TYPE_INT, { .i64 = 16}, 16, 32, DEC }, { "decklink_copyts", "copy timestamps, do not remove the initial offset", OFFSET(copyts), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, DEC }, + { "timestamp_align", "capture start time alignment (in seconds)", OFFSET(timestamp_align), AV_OPT_TYPE_DURATION, { .i64 = 0 }, 0, INT_MAX, DEC }, + { "wait_for_tc", "drop frames till a frame with timecode is received. TC format must be set", OFFSET(wait_for_tc), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, DEC }, { NULL }, }; static const AVClass decklink_demuxer_class = { - .class_name = "Blackmagic DeckLink demuxer", + .class_name = "Blackmagic DeckLink indev", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT,