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

Commit 491211b8 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Work around decoder slowness

b/10528409

Change-Id: Ifcaf0488d63e87676b1e9382437943138deb76a6
parent d656a4be
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -106,6 +106,8 @@ status_t MediaCodec::init(const char *name, bool nameIsType, bool encoder) {
        needDedicatedLooper = true;
    } else if (!nameIsType && !strncmp(name, "OMX.TI.DUCATI1.VIDEO.", 21)) {
        needDedicatedLooper = true;
    } else if (!nameIsType && !strncmp(name, "OMX.qcom.video.decoder.avc.secure", 33)) {
        needDedicatedLooper = true;
    }

    if (needDedicatedLooper) {