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

Commit a9e47272 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "CCodec: fix not to use YV12 format on COLOR_FormatYUV420Flexible for pre-S" am: 05ea0be1

parents 2150a6ae 05ea0be1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1075,8 +1075,7 @@ void CCodec::configure(const sp<AMessage> &msg) {
            } else {
                if ((config->mDomain & Config::IS_ENCODER) || !surface) {
                    if (vendorSdkVersion < __ANDROID_API_S__ &&
                            (format == COLOR_FormatYUV420Flexible ||
                             format == COLOR_FormatYUV420Planar ||
                            (format == COLOR_FormatYUV420Planar ||
                             format == COLOR_FormatYUV420PackedPlanar ||
                             format == COLOR_FormatYUV420SemiPlanar ||
                             format == COLOR_FormatYUV420PackedSemiPlanar)) {