mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Add haveRenderedFirstFrame
PiperOrigin-RevId: 263046027
This commit is contained in:
parent
79c4f1878e
commit
9f0fd870e7
1 changed files with 5 additions and 0 deletions
|
|
@ -1638,6 +1638,11 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
||||||
return surface;
|
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 {
|
protected static final class CodecMaxValues {
|
||||||
|
|
||||||
public final int width;
|
public final int width;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue