DescriptionAndroid MediaCodecVideoDecoder: Manage lifetime of texture frames
This CL should be the last one in a series to finally unblock camera texture capture.
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.
BUG=webrtc:4993
R=glaznev@webrtc.org, perkj@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/91b348c7029d843e06868ed12b728a809c53176c
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressing perkj@s comments #
Total comments: 10
Patch Set 3 : Addressing Alexs comments #Patch Set 4 : Add comment about disconnect() and synchronization #
Messages
Total messages: 11 (1 generated)
|