Fix for enqueueEOS from timing out

enqueueEOS() should also take the responsibility of clearing outpu
queue so that pending callbacks can happen. If this is not done, in
implementations where input and output callbacks are in a single queue
input callbacks wont happen until output callbacks are addressed and
this wont happend until available outputs are released.

Bug: 156713318
Test: atest android.mediav2.cts
Change-Id: I6b3128da3453bac12f9e89798660540bfc44efb6
2 files changed