<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Actually embedding playbin in a pipeline was the problem. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for the tip Sebastian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Now to find the guy for did it in the first place
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Sebastian Dröge-3 [via GStreamer-devel] [mailto:ml-node+<a href="/user/SendEmail.jtp?type=node&node=4676211&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<br>
<b>Sent:</b> Saturday, March 05, 2016 2:18 AM<br>
<b>To:</b> Singer, Matt<br>
<b>Subject:</b> Re: Playbin leak?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On Fr, 2016-03-04 at 13:07 -0800, mrsinger wrote: <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
> I have a pretty simple python app.  The pipeline is built as: <br>
>    # BUILD THE GSTREAMER PIPELINE <br>
>     self.pipeline = Gst.Pipeline() <br>
>     self.pipeline.set_auto_flush_bus(True) <br>
> <br>
>     self.bus = self.pipeline.get_bus() <br>
>     self.bus.set_flushing(True) <br>
>     self.bus.add_signal_watch() <br>
>     self.onEOS_ID = self.bus.connect('message::eos', self.OnEOS) <br>
>     self.onError_ID = self.bus.connect('message::error', <br>
> self.OnError) <br>
>      <br>
>     self.bus.enable_sync_message_emission() <br>
>     self.onSync_ID = self.bus.connect('sync-message::element', <br>
> self.OnSyncMessage) <br>
> <br>
>     self.playbin = Gst.ElementFactory.make('playbin', None) <br>
>     self.playbin.set_property('uri', myFile) <br>
>     self.pipeline.add(self.playbin) <br>
>     self.playbin.set_property('uri', "<a href="file:///\\myfile">file:///myfile</a>")
<br>
> <br>
>     Then setup the clock and set the state to PLAY. <br>
> <br>
> <br>
>     At EOS, I set the state to NULL, change the uri and set the state back <br>
> to PLAY. <br>
> <br>
>     Works fine, but each new file just increases how much ram is being used. <br>
> <br>
>     Anyone have an idea why? <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">Can you reproduce the same in a C testcase? What does massif say where
<br>
the memory is all taken? <br>
<br>
<br>
Also you don't need to put playbin into a pipeline, playbin *is* a <br>
pipeline :) But that should be unrelated to your problem. <br>
<br>
-- <br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_top" rel="nofollow" link="external">
http://www.centricular.com</a><br>
<br>
<br>
_______________________________________________ <br>
gstreamer-devel mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=4676187&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<img border="0" id="_x0000_i1025" src="http://gstreamer-devel.966125.n4.nabble.com/images/icon_attachment.gif"><strong>signature.asc</strong> (968 bytes)
<a href="http://gstreamer-devel.966125.n4.nabble.com/attachment/4676187/0/signature.asc" target="_top" rel="nofollow" link="external">
Download Attachment</a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://gstreamer-devel.966125.n4.nabble.com/Playbin-leak-tp4676185p4676187.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/Playbin-leak-tp4676185p4676187.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To unsubscribe from Playbin leak?,
<a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>
The information contained in this electronic message is privileged and confidential information; intended solely for the use of the intended recipient. Retransmission, dissemination or other use that any person other than the intended recipient makes of this
 communication is prohibited and any reliance or decisions made based upon it are solely the responsibility of such person. If you received this in error, contact the sender immediately and destroy all copies of this e-mail.




        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Playbin-leak-tp4676185p4676211.html">RE: Playbin leak?</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>