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

Commit 355edcea authored by Andreas Huber's avatar Andreas Huber
Browse files

Disregard the EOS buffer flag while flushing or shutting down the decoder.

parent 38b610fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -857,7 +857,8 @@ void OMXCodec::on_message(const omx_message &msg) {
                CHECK_EQ(err, OK);

                buffers->removeAt(i);
            } else if (flags & OMX_BUFFERFLAG_EOS) {
            } else if (mPortStatus[kPortIndexOutput] == ENABLED
                       && (flags & OMX_BUFFERFLAG_EOS)) {
                LOGV("No more output data.");
                mNoMoreOutputData = true;
                mBufferFilled.signal();