set_config
Description:
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
.
Parameters:
this |
Player instance |
config |
Returns:
true when the configuration could be set. |