Get video once more

This commit is contained in:
loki
2020-02-09 16:12:36 +01:00
parent 4b216d6676
commit 5d606bf567
2 changed files with 13 additions and 14 deletions

View File

@@ -125,11 +125,9 @@ void captureThread(std::shared_ptr<safe::queue_t<capture_ctx_t>> capture_ctx_que
}
if(time_point > capture_ctx->next_frame) {
continue;
capture_ctx->images->raise(img);
capture_ctx->next_frame = time_point + capture_ctx->delay;
}
capture_ctx->images->raise(img);
capture_ctx->next_frame = time_point + capture_ctx->delay;
}
}
}
@@ -215,7 +213,6 @@ void capture(
return;
}
AVCodec *codec;
if(config.videoFormat == 0) {