MCPcopy Create free account
hub / github.com/almalence/OpenCamera / drainEncoder

Method drainEncoder

src/com/almalence/opencam/ui/EglEncoder.java:623–725  ·  view source on GitHub ↗

Extracts all pending data from the encoder. If endOfStream is not set, this returns when there is no more data to drain. If it is set, we send EOS to the encoder, and then iterate until we see EOS on the output. Calling this with endOfStream set should be done once, right before stopping the mux

(boolean endOfStream)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

drawEncodeMethod · 0.95
closeMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected