Example #1
0
// Unlock removes a lock on the list items.
func (this *MediaList) Unlock() error {
	if this.ptr == nil {
		return &VLCError{"MediaList is nil"}
	}
	C.libvlc_media_list_unlock(this.ptr)
	return checkError()
}
Example #2
0
// Unlock removes a lock on the list items.
func (this *MediaList) Unlock() error {
	if this.ptr == nil {
		return os.EINVAL
	}
	C.libvlc_media_list_unlock(this.ptr)
	return checkError()
}