Playbin leak?

mrsinger matt.singer at cornelius.com
Fri Mar 4 21:07:56 UTC 2016


I have a pretty simple python app.  The pipeline is built as:
   # BUILD THE GSTREAMER PIPELINE
    self.pipeline = Gst.Pipeline()
    self.pipeline.set_auto_flush_bus(True)

    self.bus = self.pipeline.get_bus()
    self.bus.set_flushing(True)
    self.bus.add_signal_watch()
    self.onEOS_ID = self.bus.connect('message::eos', self.OnEOS)
    self.onError_ID = self.bus.connect('message::error', self.OnError)
    
    self.bus.enable_sync_message_emission()
    self.onSync_ID = self.bus.connect('sync-message::element',
self.OnSyncMessage)

    self.playbin = Gst.ElementFactory.make('playbin', None)
    self.playbin.set_property('uri', myFile)
    self.pipeline.add(self.playbin)
    self.playbin.set_property('uri', "file:///myfile")

    Then setup the clock and set the state to PLAY.


    At EOS, I set the state to NULL, change the uri and set the state back
to PLAY.

    Works fine, but each new file just increases how much ram is being used.

    Anyone have an idea why?








--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Playbin-leak-tp4676185.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list