diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2019-09-09 18:33:09 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2019-11-18 10:01:03 +0530 |
commit | d831edc387c17c25372ff317715b6d6bce235c13 (patch) | |
tree | 216d9d81bf38f90b470af379bee60ee658a4273f /libavdevice/decklink_dec_c.c | |
parent | cda3e8ca04c0e343f5b60fda8fb467936e176f33 (diff) | |
download | ffmpeg-d831edc387c17c25372ff317715b6d6bce235c13.tar.gz |
avdevice/decklink: add option to drop frames till timecode is seen
Option wait_for_tc only takes effect if tc_format is set
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 7aceaf934c..99439f91ae 100644 --- a/libavdevice/decklink_dec_c.c +++ b/libavdevice/decklink_dec_c.c @@ -85,6 +85,7 @@ 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 }, }; |