pub fn add_media(&self, md: &Media) -> Result<(), ()> {
        unsafe{
            if sys::libvlc_media_list_add_media(self.ptr, md.ptr) == 0 { Ok(()) }else{ Err(()) }
        }
    }
/// Add media instance to media list.
/// The MediaList::lock should be held upon entering this function.
Add media instance to media list.
The MediaList::lock should be held upon entering this function.
Add media instance to media list . The MediaList :: lock should be held upon entering this function .
pub fn add_media(&self, md: &Media) -> Result<(), ()> {
        unsafe{
            if sys::libvlc_media_list_add_media(self.ptr, md.ptr) == 0 { Ok(()) }else{ Err(()) }
        }
    }
pub fn add_media ( & self , md : & Media ) -> Result < ( ) , ( ) > { unsafe { if sys :: libvlc_media_list_add_media ( self . ptr , md . ptr ) == 0 { Ok ( ( ) ) } else { Err ( ( ) ) } } }
Add media instance to media list.
Add media instance to media list .
&self
md
&Media
&self
md
&Media