ASS_Library which contains the message_callback member is freed, so it should work if this is not cached somewhere else.<br><br>I will do some tests tonight, my last test on that was before the summer, the libass vlc code has changed quite a bit since then.<br>

<br>I also have a patch which add srt parsing to the libass renderer (using parsing code from mplayer) : it allows to handle correctly all the TAG srts out there by converting "standard" HTML-like tags into ass tags.<br>

<br>I will review my code and post that later this week.<br>It should be quite stable since it is sitting and working on my desk for nearly one year... Each time I said myself "I am going to send that this week" I find some stuffs that I don't like in my code when reviewing it, make some changes and loose focus :P<br>

<br>Mathieu Velten<br><br><div class="gmail_quote">Le 21 août 2011 13:49, Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Le dimanche 21 août 2011 14:40:58 Mathieu Velten, vous avez écrit :<br>
<div class="im">> Hi,<br>
><br>
> Just want to raise a warning here : I tried that too, and I used to have<br>
> segfault sometimes when quitting vlc or stopping playback because the<br>
> callback is sometimes called after p_dec was freed.<br>
<br>
</div>Isn't ass_library_done() supposed to undo ass_set_message_cb implicitly?<br>
<font color="#888888"><br>
--<br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
<a href="http://fi.linkedin.com/in/remidenis" target="_blank">http://fi.linkedin.com/in/remidenis</a><br>
</font></blockquote></div><br>