element: Check for an activated pad before adding, not a non-flushing one
authorSebastian Dröge <sebastian@centricular.com>
Mon, 7 Dec 2015 10:59:39 +0000 (12:59 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 7 Dec 2015 10:59:39 +0000 (12:59 +0200)
commitc247117990893d34ae38d853104deef4800e2726
treef82dd4c44d439e9cf62a7eaf10f8652b46743b33
parent17518358381bf587731c61b2210dad8c26cc63a1
element: Check for an activated pad before adding, not a non-flushing one

The pad could be activated but flushing because of a FLUSH_START event. That's
not what we're looking for here, we want to check for activated pads.

https://bugzilla.gnome.org/show_bug.cgi?id=758928
gst/gstelement.c