Allow protected access to surface in MediaCodecVideoRenderer

PiperOrigin-RevId: 251961318
This commit is contained in:
olly 2019-06-07 01:26:45 +01:00 committed by Toni
parent e525c1c59e
commit 8a2871ed51

View file

@ -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;