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

Commit 9db62f87 authored by Steve Kondik's avatar Steve Kondik
Browse files

stagefright: Create native window for FFMPEG software codecs

Change-Id: I178f334f1fa1ea9edc6898fb61e72902c2cb2651
parent d513d5b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1623,7 +1623,8 @@ status_t ACodec::configureCodec(
    if (video) {
        // determine need for software renderer
        bool usingSwRenderer = false;
        if (haveNativeWindow && mComponentName.startsWith("OMX.google.")) {
        if (haveNativeWindow && (mComponentName.startsWith("OMX.google.") ||
                                 mComponentName.startsWith("OMX.ffmpeg."))) {
            usingSwRenderer = true;
            haveNativeWindow = false;
        }