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

Commit 24684985 authored by Christopher R. Palmer's avatar Christopher R. Palmer Committed by Steve Kondik
Browse files

av: "ACodec: update native window crop rectangle" depends on QCOM

Change-Id: If0cc81468ab7ee8fa0ec374a9f23e4004e7cb212
parent 033458ed
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1005,6 +1005,7 @@ status_t ACodec::setupNativeWindowSizeFormatAndUsage(
            mRotationDegrees,
            usage,
            reconnect);
#ifdef QCOM_HARDWARE
    if (err == OK) {
        OMX_CONFIG_RECTTYPE rect;
        InitOMXParams(&rect);
@@ -1022,6 +1023,7 @@ status_t ACodec::setupNativeWindowSizeFormatAndUsage(
            err = native_window_set_crop(nativeWindow, &crop);
        }
    }
#endif
    return err;
}