Page 1 of 1

Silencing "Invalid get/release function pointers" errors when using libvlc_media_new_callbacks()

Posted: 26 Mar 2019 15:21
by realnc
I'm using libVLC to play videos from files containing multiple videos. For that, I use libvlc_media_new_callbacks() and have my callbacks fetch the video data from within the file. However, every time playback is started with libvlc_media_player_play(), libVLC prints this to stderr:

Code: Select all

[00007f06280010e0] imem demux error: Invalid get/release function pointers [00007f0628001d80] imem stream error: Invalid get/release function pointers

Passing "--verbose 0" to libvlc_new() does not help. Is there some way to silence these error messages?

I'm using VLC 3.0.6. The errors are printed on both Linux as well as macOS.

Re: Silencing "Invalid get/release function pointers" errors when using libvlc_media_new_callbacks()

Posted: 26 Mar 2019 16:06
by RĂ©mi Denis-Courmont
Be sure to pass NULL, 0 as arguments to libvlc_new().

Re: Silencing "Invalid get/release function pointers" errors when using libvlc_media_new_callbacks()

Posted: 26 Mar 2019 17:58
by realnc
Be sure to pass NULL, 0 as arguments to libvlc_new().

This is already the case:

https://github.com/realnc/hugor/blob/ca ... lc.cc#L183