fix some little bugs concerning selfview.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@197 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2008-12-05 21:42:06 +00:00
parent 80c31033e5
commit 0f8f92d660
2 changed files with 2 additions and 1 deletions

View file

@ -566,6 +566,7 @@ void video_config_read(LinphoneCore *lc)
display=lp_config_get_int(lc->config,"video","display",enabled);
#ifdef VIDEO_ENABLED
linphone_core_enable_video(lc,capture,display);
linphone_core_enable_self_view(lc,TRUE);
#endif
}

View file

@ -764,7 +764,7 @@ int main(int argc, char *argv[]){
gtk_timeout_add(20,(GtkFunction)linphone_gtk_check_logs,(gpointer)NULL);
linphone_gtk_init_main_window();
linphone_gtk_init_status_icon();
gtk_widget_show(the_ui);
linphone_gtk_show_main_window();
gtk_main();
gdk_threads_leave();
linphone_gtk_destroy_log_window();