M3U playlist and segmentation fault

This forum is about all development around libVLC.
afro
New Cone
New Cone
Posts: 4
Joined: 28 Nov 2009 22:14

M3U playlist and segmentation fault

Postby afro » 21 Jan 2010 20:14

Hello,

I try to play the m3u playlist file under my application. I read this post which is related with my problem http://mailman.videolan.org/pipermail/v ... 54167.html, and in accordance with its content I execute the following lines:

Code: Select all

/* Create the VLC instance */ inst = libvlc_new (...); /* Create the Media List instance */ ml = libvlc_media_list_new(inst, ...); /* Load m3u playlist file */ libvlc_media_list_add_file_content(ml, "/user/playlist.m3u", ...); /* Create the Media List Player instance */ mlp = libvlc_media_list_player_new(inst, ...); /* Assign the current media list object to media list player */ libvlc_media_list_player_set_media_list(mlp, ml, ...); /* Play */ libvlc_media_list_player_play(mlp, ...);
This sequence causes that the first file in the playlist is successful played and exited with segmentation fault error. I would like to add that the binary vlc application works correctly.

Is it a known issue? How can I properly play the m3u playlist files using libvlc?

Thank you in advance for your engagement,

--
Piotr

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests