[vlc-devel] commit: libvlc: Make sure the media_player has its own state cached. ( Pierre d'Herbemont )
Pierre Ynard
linkfanel at yahoo.fr
Tue Dec 8 19:43:11 CET 2009
> - /* Release the input thread */
> - release_input_thread( p_mi, true );
> + /* If the input thread hasn't been already deleted it means
> + * that the owners didn't stop the thread before releasing it. */
> + assert(!p_mi->p_input_thread);
> +
> + /* Fallback for those who don't use NDEBUG */
> + if (p_mi->p_input_thread)
> + release_input_thread(p_mi, true);
I don't know if it was working fine before, but this assert() is
triggered by the libvlc tests.
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel
mailing list