DescriptionPatchset 1 yet again relands without modification https://codereview.webrtc.org/1422963003/
It do the following:
The SurfaceTexture.updateTexImage() calls are moved from the video renderers into MediaCodecVideoDecoder, and the destructor of the texture frames will signal MediaCodecVideoDecoder that the frame has returned. This CL also removes the SurfaceTexture from the native handle and only exposes the texture matrix instead, because only the video source should access the SurfaceTexture.
It moves the responsibility of calculating the decode time to Java.
Patchset2 Refactor MediaCodecVideoDecoder to drop frames if a texture is not released.
R=magjed@webrtc.org
Committed: https://crrev.com/488e75f11b840dfbe636a9ea9bbc18252e7c59f0
Cr-Commit-Position: refs/heads/master@{#10706}
Patch Set 1 #Patch Set 2 : Drop frames if texture is not returned #
Total comments: 13
Patch Set 3 : WIP #Patch Set 4 : Changed decode drain code to call multiple times with low timeout. #
Total comments: 1
Patch Set 5 : Added comment. #
Total comments: 12
Patch Set 6 : Addressed magjeds comments. #Patch Set 7 : Rebased #Messages
Total messages: 20 (6 generated)
|