[vlc-devel] main libvlc error: input item... when calling libvlc_release
jboileau at gmail.com
Fri May 9 17:56:40 CEST 2008
Test case? What a great idea! I just took the time to create one and
that enabled me to more easily pin point the problem! The code below
crashes a bit differently than my previous application. but it is at
same place and might be related. What I have been able to pin point
here, by commenting some lines and retesting, is that adding options
seems to be the problem. If I don't add options or if I only add
":sout-all" I don't have a problem, but if I add both options then it
crashes when I do the libvlc_release.
int lNbOptions = 9;
const char* lOptions =
aLibVLCInstance = libvlc_new(lNbOptions, lOptions, &lLibVLCException);
aLibVLCMediaPlayer = libvlc_media_player_new(aLibVLCInstance,
aLibVLCMedia = libvlc_media_new(aLibVLCInstance,
libvlc_media_add_option(aLibVLCMedia, ":sout-all", &lLibVLCException);
On Thu, May 8, 2008 at 7:44 PM, Pierre d'Herbemont <pdherbemont at free.fr> wrote:
> On May 8, 2008, at 11:07 PM, jboileau wrote:
>> When I close my application I get an assert when calling
>> libvlc_release. I have been able to capture the log messages and the
>> final message is:
>>  main libvlc error: input item 022BFDD0 has not been
>> deleted properly:
>> refcount 1, name test.avi
>> The test.avi is the avi I was playing. I will get this message as many
>> times as I have started the avi file. If I do more than one play/stop
>> of the file, I will get as many similar messages as plays I have done.
> Do you have a simple test case for that?
> There is nothing obvious in libvlc-control at that point, though it
> could be a vlc's core issue. It could also be something not released
> properly in the app you created. That's why a test case would be nice...
> Thanks for reporting!
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel