VLC threads are increasing with "libvlc_media_list_player_pause()" API - results in memory leak.

This forum is about all development around libVLC.
pranavtank@gmail.com
New Cone
New Cone
Posts: 3
Joined: 19 Apr 2017 10:31

VLC threads are increasing with "libvlc_media_list_player_pause()" API - results in memory leak.

Postby pranavtank@gmail.com » 20 May 2017 17:01

We have built an application by using vlc APIs in windows 7 operating system.

We have two monitors and we play video-A on two monitors simultaneously.

After video is getting played for some time - we perform some activity on our application during which video B+C+D runs on either of the monitors.

After our activity completes , video - A runs on both the monitors.

Activity happens on either primary monitor or secondary monitor at a time.

By doing this - I have observed - application shows more number of VLC threads and it increases heap memory also and process' "largest available free" memory decreases also ( I have checked using VMmamp.exe - virtual memory map tool).
->When any video completes we have to call "libvlc_media_list_player_pause()" - which gives seemless effect to videos once video needs to replay again - but VLC threads increases.
-> If we call "libvlc_media_list_player_stop()" and again same video is played then we see BLACK flicker but vlc threads remains in control.

Is there any way to solve this issue ?
I utilize vlc 2.1.4 and I have also tried with vlc 2.2.4 versions also.

pranavtank@gmail.com
New Cone
New Cone
Posts: 3
Joined: 19 Apr 2017 10:31

Re: VLC threads are increasing with "libvlc_media_list_player_pause()" API - results in memory leak.

Postby pranavtank@gmail.com » 24 Aug 2018 19:06

Whenever vlc code starts playing any video, it creates a window with black background and it immediately does show window and then on top of that video is getting rendered.

that is why we see black flicker before actual videos starts playing. Check the code of vlc source you will identify this fact ! :) finally I got the root cause of black flicker.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests