Refactor into setup()
Refactor into setup()

So that buffer_alloc an use it as well.

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

felipec/gst-omapfb,felipec/gst-omapfb