mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
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: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
550fa277ef
commit
f04fe8aa4e
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue