Need push adapter remainning data in pass through mode

When switching to pass through mode, there might be remainning
data in the adpater, and it will be no chance to push to downstream when
in pass through mode.
So need check adapter available data and push downstream to avoid missing data

package: gstreamer1.0
ticket https://bugzilla.gnome.org/show_bug.cgi?id=760513
Upstream status: pending

Signed-off-by: Lyon Wang <lyon.wang@nxp.com>
1 file changed