Commit f04fe8aa authored by Marton Balint's avatar Marton Balint

avdevice/decklink_dec: increase autodetect timeout to 3 sec

1 sec might not be enough for the cards to detect the format...
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 550fa277
......@@ -950,8 +950,8 @@ static int decklink_autodetect(struct decklink_cctx *cctx) {
return -1;
}
// 1 second timeout
for (i = 0; i < 10; i++) {
// 3 second timeout
for (i = 0; i < 30; i++) {
av_usleep(100000);
/* Sometimes VideoInputFrameArrived is called without the
* bmdFrameHasNoInputSource flag before VideoInputFormatChanged.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment