[ekiga] Fix connection type setting in assistant



commit 9b4928e53d9387c1a9cf48a1ba5c675d0abd1060
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Sun May 30 13:50:44 2010 +0200

    Fix connection type setting in assistant

 ekiga.schemas.in.in   |    2 +-
 src/gui/assistant.cpp |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ekiga.schemas.in.in b/ekiga.schemas.in.in
index 6e66b36..01f9872 100644
--- a/ekiga.schemas.in.in
+++ b/ekiga.schemas.in.in
@@ -887,7 +887,7 @@
       <applyto>/apps/@PACKAGE_NAME@/codecs/video/maximum_video_tx_bitrate</applyto>
       <owner>Ekiga</owner>
       <type>int</type>
-      <default>48</default>
+      <default>64</default>
       <locale name="C">
 	<short>Maximum TX video bitrate</short>
 	<long>The maximum TX video bitrate in kbit/s. The video quality and the number of transmitted frames per second (depends on selected codec) will be dynamically adjusted above their minimum during calls to try to minimize the bandwidth to the given value</long>
diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index 3203c3e..d8eefc7 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -912,9 +912,9 @@ apply_connection_type_page (EkigaAssistant *assistant)
   /* Set the connection quality settings */
   switch (connection_type) {
     case NET_PSTN:
-      break;
-
     case NET_ISDN:
+      gm_conf_set_int (VIDEO_DEVICES_KEY "size", 0); //QCIF
+      gm_conf_set_int (VIDEO_CODECS_KEY "maximum_video_tx_bitrate", 32);
       break;
 
     case NET_DSL128:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]