You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//orb::ob_stream_profile_list_get_profile(self.inner, index as c_int, &mut err_ptr)
105
-
// };
106
-
// OBError::consume(err_ptr)?;
103
+
let profile = unsafe{
104
+
orb::ob_stream_profile_list_get_profile(self.inner, index asi32,&mut err_ptr)
105
+
};
106
+
OBError::consume(err_ptr)?;
107
107
108
-
// Ok(OBStreamProfile::new(profile))
109
-
// }
108
+
Ok(OBStreamProfile::new(profile))
109
+
}
110
110
111
111
/// Match the corresponding ob_stream_profile through the passed parameters. If there are multiple matches, the first one in the list will be returned by default.
0 commit comments