[vlc-devel] commit: libvlc: Make sure the media_player has its own state cached. ( Pierre d'Herbemont )
Pierre d'Herbemont
pdherbemont at free.fr
Wed Dec 9 00:10:04 CET 2009
On Tue, Dec 8, 2009 at 7:43 PM, Pierre Ynard <linkfanel at yahoo.fr> wrote:
>> - /* 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.
That's likely a bug in the test. I'll attempt to fix them.
Pierre.
More information about the vlc-devel
mailing list