Skip to content

Commit 0e97b3a

Browse files
committed
vcap/omt: Set logging callback
1 parent 072e38c commit 0e97b3a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/video_capture/omt.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ int parse_cfg(state_omt_cap& s, std::string_view cfg){
102102
int capture_omt_init(const vidcap_params *params, void **state){
103103
auto s = std::make_unique<state_omt_cap>();
104104

105+
ug_register_omt_log_callback();
106+
105107
if(auto parse_ret = parse_cfg(*s, vidcap_params_get_fmt(params)); parse_ret != VIDCAP_INIT_OK){
106108
return parse_ret;
107109
}

0 commit comments

Comments
 (0)