Problem using libvlc and stopping a video.

This forum is about all development around libVLC.
jwest68
New Cone
New Cone
Posts: 7
Joined: 15 Oct 2012 19:38

Problem using libvlc and stopping a video.

Postby jwest68 » 23 May 2013 19:49

This has occured on multiple computers (Win 7, Win 8, 32 bit, 64 bit (using 32-bit vlc)) Version 2.05 and Version 2.06 (and I even tried Version 2.1)

Basically, if I set my system up to run quickly through videos, start them, and then stop them after a couple of seconds (going for the quick kill for testing), eventually libvlc will not return from a call to libvlc_media_player_stop (or libvlc_media_list_player_stop). This has occured in multiple codecs (H264, WMV2, WMV1) in my testing. The media state is 3 when stop is called. If I omit the stop call, and just release the player and libraries, an error will still occur (presumably there's an automatic stop being called then.)

As an aside, when I had the video duration down at 1 second, I did notice that once the media state was 1 when stop was called, and I got the MSVCRT error message about unusual termination.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: Problem using libvlc and stopping a video.

Postby mangokm40 » 28 May 2013 14:36


jwest68
New Cone
New Cone
Posts: 7
Joined: 15 Oct 2012 19:38

Re: Problem using libvlc and stopping a video.

Postby jwest68 » 14 Jun 2013 22:04

Thank you, that may be exactly the problem/solution. Gonna give it some testing now.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests