media.c2 aidl: minor fixes
C2 AIDL fixes.
- Allow setting a new output surface as the same surface
- Remove verbose logs from sync fence
- return C2_BLOCKING instead of C2_TIMED_OUT from C2IgbaBlockPool
Bug: 254050314
Change-Id: I4e15853e7fed0dc803db1204c541e7936624cbd3
diff --git a/media/codec2/hal/client/GraphicsTracker.cpp b/media/codec2/hal/client/GraphicsTracker.cpp
index ca2f6e6..01b0678 100644
--- a/media/codec2/hal/client/GraphicsTracker.cpp
+++ b/media/codec2/hal/client/GraphicsTracker.cpp
@@ -254,8 +254,7 @@
ret = igbp->getUniqueId(&bqId);
}
if (ret != ::android::OK ||
- prevCache->mGeneration == generation ||
- (bqId != 0 && prevCache->mBqId == bqId)) {
+ prevCache->mGeneration == generation) {
ALOGE("new surface configure fail due to wrong or same bqId or same generation:"
"igbp(%d:%llu -> %llu), gen(%lu -> %lu)", (bool)igbp,
(unsigned long long)prevCache->mBqId, (unsigned long long)bqId,