Snapshot 5 - set of minimal changes. See FIXME. Investigating a struct's foreach function per http://permalink.gmane.org/gmane.comp.video.gstreamer.bugs/97090