mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-03 14:21:42 +00:00
refactoring
This commit is contained in:
@@ -199,6 +199,8 @@ int us_capture_open(us_capture_s *cap) {
|
||||
}
|
||||
}
|
||||
|
||||
US_LOG_INFO("Using V4L2 device: %s", cap->path);
|
||||
|
||||
if (_capture_open_check_cap(cap) < 0) {
|
||||
goto error;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "memsinksh.h"
|
||||
|
||||
|
||||
us_memsink_s *us_memsink_init(
|
||||
us_memsink_s *us_memsink_init_opened(
|
||||
const char *name, const char *obj, bool server,
|
||||
mode_t mode, bool rm, uint client_ttl, uint timeout) {
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ typedef struct {
|
||||
} us_memsink_s;
|
||||
|
||||
|
||||
us_memsink_s *us_memsink_init(
|
||||
us_memsink_s *us_memsink_init_opened(
|
||||
const char *name, const char *obj, bool server,
|
||||
mode_t mode, bool rm, uint client_ttl, uint timeout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user