History

avdevice/decklink_enc: add support for setting genlock timing offset

Marton Balint committed 7 years ago

Commit c0479011 parent 418c90f5 files · +13 −1Browse files

Showing the changes to libavdevice/decklink_common.cpp (1 of 5 files). Show all

Unified · Split

libavdevice/decklink_common.cpp+5−0
@@ -171,6 +171,11 @@ int ff_decklink_set_configs(AVFormatContext *avctx, · 170 unmodified lines
171 if (ret < 0)171 if (ret < 0)
172 return ret;172 return ret;
173 }173 }
174 if (direction == DIRECTION_OUT && cctx->timing_offset != INT_MIN) {
175 res = ctx->cfg->SetInt(bmdDeckLinkConfigReferenceInputTimingOffset, cctx->timing_offset);
176 if (res != S_OK)
177 av_log(avctx, AV_LOG_WARNING, "Setting timing offset failed.\n");
178 }
174 return 0;179 return 0;
175}180}
176 181

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t