base: move code to process_event()
base: move code to process_event()

Move some stuff to process_event() which is actually processing an
event.

Signed-off-by: Felipe Contreras <de77a8b9cd239b204c19c52ed62e48ab47243362@nokia.com>

community-ssu/gst-dsp,community-ssu/gst-dsp,community-ssu/gst-dsp