libvlc_playlist_play: crash when changing item

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
cbouleau
Blank Cone
Blank Cone
Posts: 10
Joined: 08 Mar 2008 18:49

libvlc_playlist_play: crash when changing item

Postby cbouleau » 14 Apr 2008 10:14

Hello,

I am building a video player using libvlc (0.8.6c) under Windows XP.

My application allows to change the current item (the items were previously added with the libvlc_playlist_add function).
To do that I use in the code the libvlc_playlist_play function (using the new item Id as second parameter).

Frequently (especially with big video files), calling this function causes a crash or an abnormal and unpredictable behaviour (the subsequent libvlc functions calls does not work normally).

I tried to put a temporisation after the call to libvlc_playlist_play : the problem occurs less frequently but still occurs, and I can not find any workaround.

Perhaps does a better/safer solution to change the current item exist ?

Thank you in advance for any help,

Chris. B

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_playlist_play: crash when changing item

Postby Jean-Baptiste Kempf » 14 Apr 2008 21:03

Ask on the ml with your code.
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 “Web and scripting”

Who is online

Users browsing this forum: No registered users and 31 guests