Commit 26ed8b79 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix linux hotplug detection

parent f138c34b
...@@ -102,14 +102,14 @@ void linphone_gtk_reload_sound_devices(void){ ...@@ -102,14 +102,14 @@ void linphone_gtk_reload_sound_devices(void){
GtkWidget *mw=linphone_gtk_get_main_window(); GtkWidget *mw=linphone_gtk_get_main_window();
GtkWidget *pb=(GtkWidget*)g_object_get_data(G_OBJECT(mw),"parameters"); GtkWidget *pb=(GtkWidget*)g_object_get_data(G_OBJECT(mw),"parameters");
linphone_core_reload_sound_devices(linphone_gtk_get_core()); linphone_core_reload_sound_devices(linphone_gtk_get_core());
linphone_gtk_fill_soundcards(pb); if (pb) linphone_gtk_fill_soundcards(pb);
} }
void linphone_gtk_reload_video_devices(void){ void linphone_gtk_reload_video_devices(void){
GtkWidget *mw=linphone_gtk_get_main_window(); GtkWidget *mw=linphone_gtk_get_main_window();
GtkWidget *pb=(GtkWidget*)g_object_get_data(G_OBJECT(mw),"parameters"); GtkWidget *pb=(GtkWidget*)g_object_get_data(G_OBJECT(mw),"parameters");
linphone_core_reload_video_devices(linphone_gtk_get_core()); linphone_core_reload_video_devices(linphone_gtk_get_core());
linphone_gtk_fill_webcams(pb); if (pb) linphone_gtk_fill_webcams(pb);
} }
#ifdef HAVE_LIBUDEV_H #ifdef HAVE_LIBUDEV_H
......
mediastreamer2 @ 82b3f80d
Subproject commit 05fba59cf8aa11914ad6130955c1a6d60d67eda5 Subproject commit 82b3f80d3171c1fbcda07d5199b3a74849ad9105
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment