mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Allow protected access to surface in MediaCodecVideoRenderer
PiperOrigin-RevId: 251961318
This commit is contained in:
parent
e525c1c59e
commit
8a2871ed51
1 changed files with 4 additions and 0 deletions
|
|
@ -1603,6 +1603,10 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
|||
return deviceNeedsSetOutputSurfaceWorkaround;
|
||||
}
|
||||
|
||||
protected Surface getSurface() {
|
||||
return surface;
|
||||
}
|
||||
|
||||
protected static final class CodecMaxValues {
|
||||
|
||||
public final int width;
|
||||
|
|
|
|||
Loading…
Reference in a new issue