theoraenc: Do nothing when flushing the encoder when no caps were set
authorThibault Saunier <thibault.saunier@collabora.com>
Thu, 10 Oct 2013 18:56:32 +0000 (15:56 -0300)
committerThibault Saunier <thibault.saunier@collabora.com>
Mon, 14 Oct 2013 20:49:59 +0000 (17:49 -0300)
commit508245dfa6a199423365b4800ad102a71e25e67a
treeb58f1d53cbf5c9a1139e70833fb6a28ec5a04bb1
parent2b45196042268c43fbb70f3d4275f4fae2c9f411
theoraenc: Do nothing when flushing the encoder when no caps were set

In case we receive a flush event before having our caps set, we will
end up trying to create a theora encoder even though we are not ready.
Avoid that situation making sure we are initialized before accepting to
be flushed.

https://bugzilla.gnome.org/show_bug.cgi?id=709858
ext/theora/gsttheoraenc.c