Reveret "Add OnStreamerInit for non GDK plugins" and fix pass-by-reference variables.