Example #1
0
// VlmRelease releases the vlm instance associated with this instance.
func (this *Instance) VlmRelease() error {
	if this.ptr == nil {
		return os.EINVAL
	}

	C.libvlc_vlm_release(this.ptr)
	return checkError()
}
Example #2
0
// VlmRelease releases the vlm instance associated with this instance.
func (this *Instance) VlmRelease() error {
	if this.ptr == nil {
		return &VLCError{"Instance is nil"}
	}

	C.libvlc_vlm_release(this.ptr)
	return checkError()
}