Added MEDIASTATE_ENDED to VLCWrapper