typefind: Switch to normal mode before have-type
authorJan Schmidt <jan@centricular.com>
Tue, 20 Dec 2016 13:40:10 +0000 (00:40 +1100)
committerJan Schmidt <jan@centricular.com>
Tue, 20 Dec 2016 13:40:10 +0000 (00:40 +1100)
commite64765c0d8ff5e1fd83ef711e4f6c015f52bf3d3
tree325e22b2781b797344f4cd151faad57f7f4486d0
parent47f9223750af298bc9658172e909d1f60c02dbeb
typefind: Switch to normal mode before have-type

Before emitting have-type, switch to NORMAL
mode, as part of the have-type processing sends
the caps event downstream, which might trigger
actions like downstream autoplugging or
flushing seeks - and the latter are only
passed upstream if we've set typefind to NORMAL
mode.
plugins/elements/gsttypefindelement.c