Fix seeking when using zero-copy.
authorFelipe Contreras <felipe.contreras@nokia.com>
Thu, 20 Nov 2008 17:16:28 +0000 (17:16 +0000)
committerFelipe Contreras <felipe.contreras@nokia.com>
Thu, 20 Nov 2008 17:16:28 +0000 (17:16 +0000)
commitbac1a6f6e0f10ab7c949f7940eba7bb354b9b7ac
treeb69df07658cdad4c84daa5c38793817633db0b2c
parent1dfc0b5b4f6ae8ccabb21207ff6a48f460efeb62
Fix seeking when using zero-copy.

When doing seeking, and other times, a pad push returns an error and if
zero-copy is enabled the omx buffer doesn't have any allocated buffer.
So allocate the buffer so omx doesn't crash.
omx/gstomx_base_filter.c