Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 709b48b4 authored by guochuang's avatar guochuang
Browse files

CCodec: fix update pixelFormatInfo for pre-S



Bug: 243781244

Signed-off-by: default avatarguochuang <guochuang@xiaomi.corp-partner.google.com>
Change-Id: Iacbfb4d556b7f9ef7f70720c475a3e52a505087c
parent 57c7a347
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1014,7 +1014,7 @@ void CCodec::configure(const sp<AMessage> &msg) {
            C2StoreFlexiblePixelFormatDescriptorsInfo *pixelFormatInfo = nullptr;
            int vendorSdkVersion = base::GetIntProperty(
                    "ro.vendor.build.version.sdk", android_get_device_api_level());
            if (vendorSdkVersion >= __ANDROID_API_S__ && mClient->query(
            if (mClient->query(
                        {},
                        {C2StoreFlexiblePixelFormatDescriptorsInfo::PARAM_TYPE},
                        C2_MAY_BLOCK,