Пример #1
0
// SaveMeta saves the previously changed metadata.
func (this *Media) SaveMeta() (err error) {
	if this.ptr == nil {
		return &VLCError{"Media is nil"}
	}

	if C.libvlc_media_save_meta(this.ptr) != 0 {
		err = checkError()
	}

	return
}
Пример #2
0
// SaveMeta saves the previously changed metadata.
func (this *Media) SaveMeta() (err error) {
	if this.ptr == nil {
		return os.EINVAL
	}

	if C.libvlc_media_save_meta(this.ptr) != 0 {
		err = checkError()
	}

	return
}