Skip to content
Snippets Groups Projects
Commit f1235d0f authored by Vivien Didelot's avatar Vivien Didelot
Browse files

gnome: (dbus) add dbus_set_video_preferences()

This patch exposes the video preferences setter in the DBus API.

Refs #49279
Change-Id: I670302307dcf9e4d8d998079c25a1f00bc5e8d06
parent 219c0332
No related branches found
No related tags found
No related merge requests found
...@@ -1994,6 +1994,14 @@ dbus_get_video_preferences(const gchar *name) ...@@ -1994,6 +1994,14 @@ dbus_get_video_preferences(const gchar *name)
return pref; return pref;
} }
void
dbus_set_video_preferences(const gchar *name, GHashTable *pref)
{
GError *error = NULL;
org_sflphone_SFLphone_VideoManager_set_preferences(video_proxy, name, pref, &error);
check_error(error);
}
gchar ** gchar **
dbus_get_video_device_list() dbus_get_video_device_list()
{ {
......
...@@ -393,6 +393,7 @@ void dbus_set_active_video_device_channel(const gchar *channel); ...@@ -393,6 +393,7 @@ void dbus_set_active_video_device_channel(const gchar *channel);
void dbus_set_active_video_device_size(const gchar *size); void dbus_set_active_video_device_size(const gchar *size);
void dbus_set_active_video_device_rate(const gchar *rate); void dbus_set_active_video_device_rate(const gchar *rate);
GHashTable *dbus_get_video_preferences(const gchar *name); GHashTable *dbus_get_video_preferences(const gchar *name);
void dbus_set_video_preferences(const gchar *name, GHashTable *pref);
gchar *dbus_get_active_video_device(); gchar *dbus_get_active_video_device();
gchar *dbus_get_active_video_device_channel(); gchar *dbus_get_active_video_device_channel();
gchar *dbus_get_active_video_device_size(); gchar *dbus_get_active_video_device_size();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment