Memory Leak in Case of Changing the pipeline state From NULL to PLAYING multiple times
I have a sample application containing gstreamer libraries in which it takes following inputs(integer).
| argument | function | | 1 | ----> |sets the pipeline in PLAYING STATE| | 2 | ----> |sets the pipeline in NULL STATE|
When i do this multiple times,PLAYING -> NULL -> PLAYING -> NULL,roughly 4-8 Kilobytes of memory leak is found per cycle.
I have used this command for checking the memory "top -b -m -n 1 | grep -e gst_memory_leak_example" and the RSS value of it is observed.
I have attached the snippet of my sample application here.