Esempio n. 1
0
// IsReadOnly returns true if this list is readonly for a user.
func (this *MediaList) IsReadOnly() (bool, error) {
	if this.ptr == nil {
		return false, &VLCError{"MediaList is nil"}
	}
	return C.libvlc_media_list_is_readonly(this.ptr) == 0, checkError()
}
Esempio n. 2
0
// IsReadOnly returns true if this list is readonly for a user.
func (this *MediaList) IsReadOnly() (bool, error) {
	if this.ptr == nil {
		return false, os.EINVAL
	}
	return C.libvlc_media_list_is_readonly(this.ptr) == 0, checkError()
}