[ekiga/gnome-2-26] Fix connection type setting in assistant



commit 401ac6d41cd7060b1d27ba40aefb52510e872e8d
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 7b80864..822270f 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 2506a01..ab187d4 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]