Initialize an uninitialized mpv instance. If the mpv instance is already
running, an error is returned.
This function needs to be called to make full use of the client API if the
client API handle was created with mpv_create().
Only the following options are required to be set _before_ mpv_initialize():
- options which are only read at initialization time:
- config
- config-dir
- input-conf
- load-scripts
- script
- player-operation-mode
- input-app-events (OSX)
- all encoding mode options
Initialize an uninitialized mpv instance. If the mpv instance is already running, an error is returned.
This function needs to be called to make full use of the client API if the client API handle was created with mpv_create().
Only the following options are required to be set _before_ mpv_initialize(): - options which are only read at initialization time: - config - config-dir - input-conf - load-scripts - script - player-operation-mode - input-app-events (OSX) - all encoding mode options
@return error code