예제 #1
0
파일: medialist.go 프로젝트: henrym/go-vlc
// 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()
}
예제 #2
0
파일: medialist.go 프로젝트: egelmex/go-vlc
// 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()
}