[vlc-devel] libvlc_media_descriptor_... setting mrl question

Pierre d'Herbemont pdherbemont at free.fr
Wed Jan 23 23:58:07 CET 2008


On Jan 23, 2008, at 10:48 PM, jboileau wrote:

> My reason to do that is to be able to start a new play from inside  
> the libvlc_MediaInstanceReachedEnd event. I may not be doing things  
> correctly but presently it simply hangs in my callback. Probably  
> because I am trying to release something that is probably what is  
> calling me back! :-) The media descriptor. I have circumvented the  
> problem by posting myself a message (I am working under Windowzzzz)  
> and this lets me do what I want since in the handler for this  
> message I am out of the libvlc_MediaInstanceReachedEnd event  
> callback. But I would rather not have to resort to this double  
> callback scheme to get things working.

This is a bit weird cause you shouldn't get issue when releasing the  
media descriptor in the media_instance callback, unless you are  
releasing the media instance that currently plays the media descriptor.

Tell me if you encounters more trouble, I'll have a look over the  
weekend.

Pierre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080123/480c2816/attachment.html>


More information about the vlc-devel mailing list