Commit 8a2871ed by olly Committed by Toni

Allow protected access to surface in MediaCodecVideoRenderer

PiperOrigin-RevId: 251961318
parent e525c1c5
...@@ -1603,6 +1603,10 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer { ...@@ -1603,6 +1603,10 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
return deviceNeedsSetOutputSurfaceWorkaround; return deviceNeedsSetOutputSurfaceWorkaround;
} }
protected Surface getSurface() {
return surface;
}
protected static final class CodecMaxValues { protected static final class CodecMaxValues {
public final int width; public final int width;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment