GStreamer video loop memory leak

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GStreamer video loop memory leak

ソリューションへジャンプ
2,038件の閲覧回数
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

ラベル(5)
0 件の賞賛
返信
1 解決策
1,442件の閲覧回数
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,443件の閲覧回数
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,442件の閲覧回数
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 件の賞賛
返信