fixed missing argument

This commit is contained in:
Maxim Devaev
2024-11-07 12:17:44 +02:00
parent 79020143c7
commit 4db730abd9
2 changed files with 2 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
_g_server = us_server_init(_g_stream); _g_server = us_server_init(_g_stream);
if ((exit_code = options_parse(options, cap, enc, _g_stream, _g_server)) == 0) { if ((exit_code = options_parse(options, cap, enc, _g_stream, _g_server)) == 0) {
us_stream_update_blank(cap); us_stream_update_blank(_g_stream, cap);
# ifdef WITH_GPIO # ifdef WITH_GPIO
us_gpio_init(); us_gpio_init();
# endif # endif

View File

@@ -129,8 +129,7 @@ us_stream_s *us_stream_init(us_capture_s *cap, us_encoder_s *enc) {
return stream; return stream;
} }
void us_stream_update_blank(us_stream_s *stream, us_capture_s *cap) void us_stream_update_blank(us_stream_s *stream, us_capture_s *cap) {
{
us_blank_draw(stream->run->blank, "< NO SIGNAL >", cap->width, cap->height); us_blank_draw(stream->run->blank, "< NO SIGNAL >", cap->width, cap->height);
} }