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

This forum is about all development around libVLC.
realnc
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Jul 2010 20:35
Operating System: Linux

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

Postby realnc » 26 Mar 2019 15:21

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 26 Mar 2019 16:06

Be sure to pass NULL, 0 as arguments to libvlc_new().
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

realnc
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Jul 2010 20:35
Operating System: Linux

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

Postby realnc » 26 Mar 2019 17:58

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 28 guests