X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdecklink_dec_c.c;h=99439f91ae08b4e1d7bcd3892f06ba2837068752;hb=c991e9cd91845044e93a9c89dd25b48ae707461b;hp=91d2839c57e5e09d6fbaa1009943f6b4a45116aa;hpb=c6892f59eb0e9f2a9ec1f55b21a5841a60540e1f;p=ffmpeg diff --git a/libavdevice/decklink_dec_c.c b/libavdevice/decklink_dec_c.c index 91d2839c57e..99439f91ae0 100644 --- a/libavdevice/decklink_dec_c.c +++ b/libavdevice/decklink_dec_c.c @@ -85,11 +85,12 @@ static const AVOption options[] = { { "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,