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

Commit 3926d3fb authored by Jia Meng's avatar Jia Meng Committed by Steve Kondik
Browse files

stagefright: Clear mNoMoreOutputData flag during seeking

For some 3rd party players, stop won't be called when playing
to the end. If seeking happens after that, we need to clear
this flag to make it be ready for subsequence data flow.

Change-Id: I9b2d18d03225420a45821ba7536cdc91d52b1312
CRs-Fixed: 755988
parent 70fcaeaa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3100,6 +3100,7 @@ void OMXCodec::onCmdComplete(OMX_COMMANDTYPE cmd, OMX_U32 data) {

                    // We implicitly resume pulling on our upstream source.
                    mPaused = false;
                    mNoMoreOutputData = false;

                    drainInputBuffers();
                    fillOutputBuffers();