typefind: don't take object lock for reading the found caps
authorStefan Kost <ensonic@users.sf.net>
Wed, 12 Jan 2011 14:03:30 +0000 (16:03 +0200)
committerStefan Kost <ensonic@users.sf.net>
Fri, 28 Jan 2011 09:17:48 +0000 (11:17 +0200)
commitc5a57190ee35dfe341da88d7048f7d9fe12f1ee0
tree2f761273ff94480bba576084ad490e51c253fb83
parent624168d8a0ceb05cc29b37f0794c935a2d91764e
typefind: don't take object lock for reading the found caps

Once we switch to normal mode, we're not typefinding anymore and thus the caps
will not change. Therefore can avoid the object lock in the data-flow path.
The locking was added in order to fix bug #608877.
plugins/elements/gsttypefindelement.c