[vlc-devel] libvlc_media_list_player_play_item fails after serveral uses

Rémi Denis-Courmont remi at remlab.net
Wed Nov 10 16:22:05 CET 2010


Le mercredi 10 novembre 2010 17:02:00 antonio meléndez, vous avez écrit :
> The app works properly during a period of time an then breaks, always
> after around 3200 uses of libvlc_media_list_player_play_item. When the
> app breaks the screen becomes black and start having problems refreshing
> it. "[0x10b40d90] directx generic warning: could not blit surface (error
> -2147467259)" message appears.

> I'm trying to look for the problem in the vlc code but it's so huge that
> I didn't find anything. Any ideas???

I would guess it's a memory or handle leak somewhere.

I don't know any tool to track this on Windows. But the place that generates 
the warning seems like an obvious starting point, i.e. 
modules/video_output/msw/directx.c:Display.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list