mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 14:20:45 +01:00
![]() SurfaceTextureHelper currently crashes if an OES texture is produced before setTextureSize() has been called. This is annoying if the texture size is not easily known beforehand. A real world example is MediaPlayer that provides the video size with an asynchronous call to setOnVideoSizeChangedListener(), but that might happen after the first texture is produced on some devices. This CL waits with delivering frames until the size has been sent, rather than crashing. Bug: webrtc:10709 Change-Id: I5d9ce542e0edaafe1153fd5fe7d64dba86d7e33c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140080 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28151} |
||
---|---|---|
.. | ||
org/webrtc |