Freeing a libvlc_video_viewpoint_t
Posted: 10 Apr 2020 19:52
A libvlc_video_viewpoint_t is created by libvlc_video_new_viewpoint():
IIRC this used to be able to be freed by libvlc_free, but as libvlc_free has been removed what now is the correct thing to do here?
Should there be a corresponding libvlc_video_viewpoint_destroy(libvlc_video_viewpoint_t*) or something?
I should not be just calling the standard native free() on memory that LibVLC allocated should I?
Code: Select all
LIBVLC_API libvlc_video_viewpoint_t *libvlc_video_new_viewpoint(void);
IIRC this used to be able to be freed by libvlc_free, but as libvlc_free has been removed what now is the correct thing to do here?
Should there be a corresponding libvlc_video_viewpoint_destroy(libvlc_video_viewpoint_t*) or something?
I should not be just calling the standard native free() on memory that LibVLC allocated should I?