util: add timeout to wait_for_state
authorFelipe Contreras <felipe.contreras@nokia.com>
Tue, 24 Mar 2009 17:51:58 +0000 (19:51 +0200)
committerFelipe Contreras <felipe.contreras@gmail.com>
Thu, 2 Apr 2009 21:50:50 +0000 (00:50 +0300)
commita5d72cbae0c400b0b900c6954abccbaca8f70cec
treec5bb9f6943274a036aca3eb94e1d9d81700fe583
parentc59533b4e6708e81137e6399601b7b2882fb2cd7
util: add timeout to wait_for_state

So we don't wait forever for the DSP.

Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
omx/gstomx_util.c