GStreamer video loop memory leak

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

GStreamer video loop memory leak

跳至解决方案
1,613 次查看
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 项奖励
1 解答
1,017 次查看
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 项奖励
2 回复数
1,018 次查看
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 项奖励
1,017 次查看
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 项奖励