[ Version ( since = "1.10" ) ]
public bool set_config (owned Structure config)
Set the configuration of the player.
If the player is already configured, and the configuration haven't change, this function will return true . If the player is not in the GST_PLAYER_STATE_STOPPED, this method will return false and active configuration will remain.
config
is a Structure that contains the configuration parameters for the player.
This function takes ownership of config
.
this |
Player instance |
config |
a Structure |
true when the configuration could be set. |