[ekiga/gnome-2-26] Remove FFMPEG and WAVFile modules from preferences->devices, unused for the moment (Damien dixit).



commit d90f2f1094c0d5c6457f2afe1b4231450e847780
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Sat Apr 18 10:42:10 2009 +0200

    Remove FFMPEG and WAVFile modules from preferences->devices, unused for the moment (Damien dixit).
---
 .../components/ptlib/audioinput-manager-ptlib.cpp  |    3 ++-
 .../components/ptlib/audiooutput-manager-ptlib.cpp |    3 ++-
 .../components/ptlib/videoinput-manager-ptlib.cpp  |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/lib/engine/components/ptlib/audioinput-manager-ptlib.cpp b/lib/engine/components/ptlib/audioinput-manager-ptlib.cpp
index f56d882..8598442 100644
--- a/lib/engine/components/ptlib/audioinput-manager-ptlib.cpp
+++ b/lib/engine/components/ptlib/audioinput-manager-ptlib.cpp
@@ -73,7 +73,8 @@ void GMAudioInputManager_ptlib::get_devices(std::vector <Ekiga::AudioInputDevice
 
     device.source = sources_array[i];
 
-    if (device.source != "EKIGA") {
+    if ((device.source != "EKIGA") &&
+        (device.source != "WAVFile")) {
       audio_devices = PSoundChannel::GetDeviceNames (device.source, PSoundChannel::Recorder);
       devices_array = audio_devices.ToCharArray ();
 
diff --git a/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp b/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp
index ac96579..8c83e25 100644
--- a/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp
+++ b/lib/engine/components/ptlib/audiooutput-manager-ptlib.cpp
@@ -73,7 +73,8 @@ void GMAudioOutputManager_ptlib::get_devices(std::vector <Ekiga::AudioOutputDevi
 
     device.source = sources_array[i];
 
-    if (device.source != "EKIGA") {
+    if ((device.source != "EKIGA") &&
+        (device.source != "WAVFile")) {
       audio_devices = PSoundChannel::GetDeviceNames (device.source, PSoundChannel::Player);
       devices_array = audio_devices.ToCharArray ();
 
diff --git a/lib/engine/components/ptlib/videoinput-manager-ptlib.cpp b/lib/engine/components/ptlib/videoinput-manager-ptlib.cpp
index bc21aa1..d550f81 100644
--- a/lib/engine/components/ptlib/videoinput-manager-ptlib.cpp
+++ b/lib/engine/components/ptlib/videoinput-manager-ptlib.cpp
@@ -75,7 +75,8 @@ void GMVideoInputManager_ptlib::get_devices(std::vector <Ekiga::VideoInputDevice
     if ( (device.source != "YUVFile") &&
          (device.source != "Shm") &&
          (device.source != "FakeVideo") &&
-         (device.source != "EKIGA"    ) ) {
+         (device.source != "EKIGA") &&
+         (device.source != "FFMPEG") ) {
       video_devices = PVideoInputDevice::GetDriversDeviceNames (device.source);
       devices_array = video_devices.ToCharArray ();
   



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