baseparse: Return FLOW_FLUSHING when pushing a frame on a pad that has been flushed
authorThibault Saunier <tsaunier@gnome.org>
Thu, 17 Jul 2014 13:53:53 +0000 (15:53 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 17 Jul 2014 15:46:16 +0000 (17:46 +0200)
commit4c38895f4b71cabecd857e1fbc765b01aad21867
tree4ca1842d62489d823059311e4eb3e5fb7bdaca88
parentf1abac1109a14049fa9dab21eeaddc23dcb9fd22
baseparse: Return FLOW_FLUSHING when pushing a frame on a pad that has been flushed

When going to READY, it is possible that we are still pusing a frame but that
our srcpad has already been set to flushing. In that case we should not
post any error on the bus but instead cleanly return FLOW_FLUSHING.

https://bugzilla.gnome.org/show_bug.cgi?id=733320
libs/gst/base/gstbaseparse.c