VLC threads are increasing with "libvlc_media_list_player_pause()" API - results in memory leak.
Posted: 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.
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.