Commit 9f0fd870 by olly Committed by Andrew Lewis

Add haveRenderedFirstFrame

PiperOrigin-RevId: 263046027
parent 79c4f187
......@@ -1638,6 +1638,11 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
return surface;
}
/** Returns true if the first frame has been rendered (playback has not necessarily begun). */
protected final boolean haveRenderedFirstFrame() {
return renderedFirstFrame;
}
protected static final class CodecMaxValues {
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