Reapply "Codec2Client: use IProducerListener for Codec2 hidl1.2"
This reverts commit c7c9a060755459340d838e5622e97f388e6e7391.
Change-Id: Iaadc5dc47562b435d09b33ad675729beb76b62cb
diff --git a/media/codec2/hal/client/client.cpp b/media/codec2/hal/client/client.cpp
index 597852a..e8e7cb2 100644
--- a/media/codec2/hal/client/client.cpp
+++ b/media/codec2/hal/client/client.cpp
@@ -2372,7 +2372,7 @@
void Codec2Client::Component::onBufferReleasedFromOutputSurface(
uint32_t generation) {
- (void) generation;
+ mOutputBufferQueue->onBufferReleased(generation);
}
c2_status_t Codec2Client::Component::connectToInputSurface(