mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
player: Add some 'const' to config getters
This commit is contained in:
parent
1f7d341d92
commit
aa1a663c8a
2 changed files with 4 additions and 4 deletions
|
@ -4145,7 +4145,7 @@ gst_player_config_set_user_agent (GstStructure * config, const gchar * agent)
|
|||
* Since 1.10
|
||||
*/
|
||||
gchar *
|
||||
gst_player_config_get_user_agent (GstStructure * config)
|
||||
gst_player_config_get_user_agent (const GstStructure * config)
|
||||
{
|
||||
gchar *agent = NULL;
|
||||
|
||||
|
@ -4186,7 +4186,7 @@ gst_player_config_set_position_update_interval (GstStructure * config,
|
|||
* Since 1.10
|
||||
*/
|
||||
guint
|
||||
gst_player_config_get_position_update_interval (GstStructure * config)
|
||||
gst_player_config_get_position_update_interval (const GstStructure * config)
|
||||
{
|
||||
guint interval = DEFAULT_POSITION_UPDATE_INTERVAL_MS;
|
||||
|
||||
|
|
|
@ -200,11 +200,11 @@ GstStructure * gst_player_get_config (GstPlayer * player);
|
|||
|
||||
void gst_player_config_set_user_agent (GstStructure * config,
|
||||
const gchar * agent);
|
||||
gchar * gst_player_config_get_user_agent (GstStructure * config);
|
||||
gchar * gst_player_config_get_user_agent (const GstStructure * config);
|
||||
|
||||
void gst_player_config_set_position_update_interval (GstStructure * config,
|
||||
guint interval);
|
||||
guint gst_player_config_get_position_update_interval (GstStructure * config);
|
||||
guint gst_player_config_get_position_update_interval (const GstStructure * config);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue