basesink: initalize omx when changing to READY
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 5 Aug 2008 10:28:33 +0000 (13:28 +0300)
committerFelipe Contreras <felipe.contreras@gmail.com>
Sun, 26 Apr 2009 14:51:54 +0000 (17:51 +0300)
commit00df2b8a44a2e563be8ffcfff834ea2106c3f730
treef038bc8c80d44c46f45ce6cfced4ba1acb8bef9b
parent64538b1494c0bd7b9e06eb0fc02942fe44edb1bd
basesink: initalize omx when changing to READY

Sometimes pad_link is called after switching the state; we need to have omx
initialized always.

Based on the tunneling patch series by Frederik Vermelen (NXP), whom
also gave feedback to this patch.

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