|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::VideoEncodeContext::drain | ( | FFmpegMuxContext & | mux | ) |
Flush all buffered frames from the encoder to the mux.
Sends a null frame to signal EOS to the encoder and drains all remaining output packets. Call once before FFmpegMuxContext::close().
| mux | Mux context to receive remaining packets. |
Definition at line 326 of file VideoEncodeContext.cpp.
References codec_context, drain_packets(), is_valid(), and m_last_error.
Referenced by MayaFlux::IO::VideoFileWriter::worker_loop().
Here is the call graph for this function:
Here is the caller graph for this function: