Skip to content

Commit

Permalink
fixed missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Nov 7, 2024
1 parent 7902014 commit 4db730a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ustreamer/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
_g_server = us_server_init(_g_stream);

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
us_gpio_init();
# endif
Expand Down
3 changes: 1 addition & 2 deletions src/ustreamer/stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ us_stream_s *us_stream_init(us_capture_s *cap, us_encoder_s *enc) {
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);
}

Expand Down

0 comments on commit 4db730a

Please sign in to comment.