<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GStreamer video loop memory leak in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615294#M93053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; When my application receives the signal, it sets the URI for playbin to the same file and the video loops seamlessly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm getting a memory leak.&amp;nbsp; The application slowly uses more and more memory until the oom killer closes it.&amp;nbsp; Valgrind says memory is definitely lost but doesn't trace back further than g_malloc.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a copy of the test program here.&amp;nbsp; Any help is greatly appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marlon&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336874"&gt;gsttest.cpp.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336874"&gt;Makefile.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336874"&gt;gsttest.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 23:28:38 GMT</pubDate>
    <dc:creator>marlonsmith</dc:creator>
    <dc:date>2017-02-08T23:28:38Z</dc:date>
    <item>
      <title>GStreamer video loop memory leak</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615294#M93053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; When my application receives the signal, it sets the URI for playbin to the same file and the video loops seamlessly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm getting a memory leak.&amp;nbsp; The application slowly uses more and more memory until the oom killer closes it.&amp;nbsp; Valgrind says memory is definitely lost but doesn't trace back further than g_malloc.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a copy of the test program here.&amp;nbsp; Any help is greatly appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marlon&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336874"&gt;gsttest.cpp.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336874"&gt;Makefile.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336874"&gt;gsttest.h.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615294#M93053</guid>
      <dc:creator>marlonsmith</dc:creator>
      <dc:date>2017-02-08T23:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer video loop memory leak</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615295#M93054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marlon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gstreamer-imx plugins developed and supported by community, one&lt;/P&gt;&lt;P&gt;could post it on meta-fsl-arm mailing list&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;BR /&gt;trac.gateworks.com/wiki/Yocto/gstreamer&lt;/P&gt;&lt;P&gt;Alternatively one can try nxp gstreamer plugins described in&lt;/P&gt;&lt;P&gt;documentation package (Linux Guide, Release Notes)&amp;nbsp; on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=L3.14.28_1.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L3.14.28_1.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L3.14.28_1.0.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageTyp…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 09:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615295#M93054</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-02-10T09:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer video loop memory leak</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615296#M93055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Igor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious, why are there two different sets of gstreamer plugins?&amp;nbsp; Is there any advantage to one version over the other?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marlon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:11:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-video-loop-memory-leak/m-p/615296#M93055</guid>
      <dc:creator>marlonsmith</dc:creator>
      <dc:date>2017-02-10T21:11:30Z</dc:date>
    </item>
  </channel>
</rss>

