Loading media/libstagefright/omx/GraphicBufferSource.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -829,6 +829,10 @@ void GraphicBufferSource::submitEndOfInputStream_l() { ssize_t cbix = mSubmittedCodecBuffers.add(codecBufferId, nullptr); ALOGV("submitEndOfInputStream_l: buffer submitted, bufferId=%u@%zd", codecBufferId, cbix); mEndOfStreamSent = true; // no need to hold onto any buffers for frame repeating ++mRepeatLastFrameGeneration; mLatestBuffer.mBuffer.reset(); } } Loading Loading
media/libstagefright/omx/GraphicBufferSource.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -829,6 +829,10 @@ void GraphicBufferSource::submitEndOfInputStream_l() { ssize_t cbix = mSubmittedCodecBuffers.add(codecBufferId, nullptr); ALOGV("submitEndOfInputStream_l: buffer submitted, bufferId=%u@%zd", codecBufferId, cbix); mEndOfStreamSent = true; // no need to hold onto any buffers for frame repeating ++mRepeatLastFrameGeneration; mLatestBuffer.mBuffer.reset(); } } Loading