Struct vlc::Media [] [src]

pub struct Media {
    pub ptr: *mut libvlc_media_t,
}

Fields

Methods

impl Media
[src]

Create a media with a certain given media resource location, for instance a valid URL.

Create a media for a certain file path.

Read the meta of the media. If the media has not yet been parsed this will return None.

Set the meta of the media. (This function will not save the meta, call save_meta in order to save the meta)

Save the meta previously set.

Get current state of media descriptor object.

Get duration (in ms) of media descriptor object item.

Parse a media.

Parse a media.

Get Parsed status for media descriptor object.

Trait Implementations

impl Drop for Media
[src]

A method called when the value goes out of scope. Read more