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

Commit fff781b2 authored by codeworkx's avatar codeworkx
Browse files

omxcodec: added buffersize logic back in

got lost with merge of 1d73f2b8

Change-Id: I0a185dd1b14d0ced4d96b0d8cc1515b7ba18abea
parent 53f39838
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1885,6 +1885,9 @@ status_t OMXCodec::setVideoOutputFormat(
    const size_t X = 64 * 8 * 1024;  // const size_t X = 64 * 1024;
#else
    const size_t X = 64 * 1024;
    if (def.nBufferSize < X) {
        def.nBufferSize = X;
    }
#endif

    CHECK_EQ((int)def.eDomain, (int)OMX_PortDomainVideo);