bennetthardwick / rust-obs-plugins

A safe wrapper around the OBS API, useful for creating OBS sources, filters and effects.
GNU General Public License v2.0
186 stars 34 forks source link

Add output builder #26

Closed clouds56 closed 2 years ago

clouds56 commented 2 years ago
  1. make all api from &mut Option<Self> to &mut self since it wouldn't be null after create
  2. remove ffi::create_default_data, and move fn create from CreateSource to Sourceable
  3. impl Clone and Drop for SourceContext, with respect to obs_source_get_ref and obs_source_release
  4. move mod hotkey and properties to crate root, so that we could use them in output
  5. add basic output support
bennetthardwick commented 2 years ago

Awesome, thanks!