Dynamic pipeline, memory, ref issue

Peter BOCZ peter.bocz at vidux.net
Wed May 18 04:49:27 PDT 2011


Hi

I have a very simple pipeline and i want to replace the fakesink in 
every iteration. Problems:
1. i don't understand why is the old fakesink refcount bigger than 0 
(why is is not free). How can i free all resources from that element ?
2. at the end of the program i set the full pipeline to NULL state, then 
this comes
"Trying to dispose element fakesink1, but it is in READY instead of the 
NULL state ...."
but the fakesink1 was already replaced, set to NULL and the returned 
value was success and i had already removed it form the pipeline.

src: http://pastebin.com/GKkqNVGb

thank in advance, Peter Bocz




More information about the gstreamer-devel mailing list