// FIXME do not return the native structure, should be a Java enum
@Override
public libvlc_state_t getMediaState() {
Logger.debug("getMediaState()");
libvlc_state_t state = null;
if(mediaInstance != null) {
state = libvlc_state_t.state(libvlc.libvlc_media_get_state(mediaInstance));
}
return state;
}