GStreamer video loop memory leak

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GStreamer video loop memory leak

Jump to solution
1,517 Views
marlonsmith
Contributor IV

Hi everyone,

 

I'm using kernel 3.14.28 and gstreamer1.0-plugins-imx_0.12.1 to play video, and I'm looping it using the about-to-finish signal of playbin.  When my application receives the signal, it sets the URI for playbin to the same file and the video loops seamlessly.

 

However, I'm getting a memory leak.  The application slowly uses more and more memory until the oom killer closes it.  Valgrind says memory is definitely lost but doesn't trace back further than g_malloc.

 

I've attached a copy of the test program here.  Any help is greatly appreciated!

 

Marlon

Original Attachment has been moved to: gsttest.cpp.zip

Original Attachment has been moved to: Makefile.zip

Original Attachment has been moved to: gsttest.h.zip

0 Kudos
1 Solution
921 Views
igorpadykov
NXP Employee
NXP Employee

Hi Marlon

gstreamer-imx plugins developed and supported by community, one

could post it on meta-fsl-arm mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale
trac.gateworks.com/wiki/Yocto/gstreamer

Alternatively one can try nxp gstreamer plugins described in

documentation package (Linux Guide, Release Notes)  on

http://www.nxp.com/webapp/Download?colCode=L3.14.28_1.0.0_LINUX_DOCS&Parent_nodeId=13376994810717061... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
922 Views
igorpadykov
NXP Employee
NXP Employee

Hi Marlon

gstreamer-imx plugins developed and supported by community, one

could post it on meta-fsl-arm mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale
trac.gateworks.com/wiki/Yocto/gstreamer

Alternatively one can try nxp gstreamer plugins described in

documentation package (Linux Guide, Release Notes)  on

http://www.nxp.com/webapp/Download?colCode=L3.14.28_1.0.0_LINUX_DOCS&Parent_nodeId=13376994810717061... 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
921 Views
marlonsmith
Contributor IV

Thanks for the reply Igor.

I'm curious, why are there two different sets of gstreamer plugins?  Is there any advantage to one version over the other?

Marlon

0 Kudos