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

Commit b99b4cf2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "CCodec: fix update pixelFormatInfo for pre-S"

parents e70521b7 709b48b4
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,