Skip to content
Snippets Groups Projects

media: Add add_option() method

Merged Romain Roffé requested to merge rofferom/vlc-rs:bind-add-option into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -85,6 +85,12 @@ impl Media {
}
}
pub fn add_option(&self, value: &str) {
unsafe{
sys::libvlc_media_add_option(self.ptr, to_cstr(value).as_ptr());
}
}
/// Set the meta of the media.
/// (This function will not save the meta, call save_meta in order to save the meta)
pub fn set_meta(&self, meta: Meta, value: &str) {
Loading