My reason to do that is to be able to start a new play from inside the <font size="2">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.
</font><br><br>
<div class="gmail_quote">On Jan 23, 2008 3:59 PM, Pierre d'Herbemont <<a href="mailto:pdherbemont@free.fr">pdherbemont@free.fr</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c"><br>On Jan 23, 2008, at 7:51 PM, jboileau wrote:<br><br>> Is there another way to specify a file for play by a media<br>> descriptor other than through the libvlc_media_descriptor_new<br>> function's psz_mrl parameter? Can we set a file to play to an
<br>> existing media descriptor so we can reuse the same? Something like<br>> libvlc_media_descriptor_set_mrl for example.<br><br></div></div>No it is not, and I don't really see why you want to do that. Creating
<br>a new media descriptor is cheap and you have<br>libvlc_media_instance_set_media_descriptor().<br><br>Pierre.<br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:
<br><a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jacques Boileau