Skip to main content

ensure_initialized

Function ensure_initialized 

Source
pub fn ensure_initialized()
Expand description

Ensure FFmpeg is initialized.

This function is idempotent and can be called multiple times safely. It will only perform initialization once.

Installs the log bridge, so FFmpeg’s own diagnostics reach the log facade under the ffmpeg target instead of going to stderr. That is process-global FFmpeg state; see install_log_bridge.