omx: Add more checks to acquire_buffer() and return the current state additional...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 7 Jul 2011 10:23:24 +0000 (12:23 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 9 Jul 2011 09:06:06 +0000 (11:06 +0200)
commitc8c1c7f10fe7ee589a04b763db15415e48f8051d
tree649ababc57c38fd4ab4dcc4ad32a61618126a309
parent934fac79465e2f743ee903fdf8725dcbaede0ff4
omx: Add more checks to acquire_buffer() and return the current state additional to the buffer

Also refactor the code flow in the video decoder for this. This makes
the usage of acquire_buffer() easier and more atomic.
omx/gstomx.c
omx/gstomx.h
omx/gstomxvideodec.c