libvlc_media_subitems() not returning NULL

This forum is about all development around libVLC.
mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

libvlc_media_subitems() not returning NULL

Postby mangokm40 » 15 Jun 2015 20:59

According to this page:
https://www.videolan.org/developers/vlc ... media.html
the function libvlc_media_subitems():
"Returns list of media descriptor subitems or NULL "

Up to version 2.2.2, this is working as expected. However, in version 3.0.0, this function appears
to NOT return NULL. Instead, I receive a value for all media.
When I call libvlc_media_list_count() for that value, I get a 0 (if it was simple media).

This is not a problem, really. I just wanted to make sure it's intended behavior. All the simple media that was
returning NULL for libvlc_media_subitems() (up to ver 2.2.2) is now returning a value (which then tells me has 0 items in it). :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: libvlc_media_subitems() not returning NULL

Postby Jean-Baptiste Kempf » 09 Jul 2015 21:59

file a bugreport, please.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 24 guests