[ekiga] Made sure signals are raised in main in the gstreamer code
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Made sure signals are raised in main in the gstreamer code
- Date: Wed, 1 Feb 2012 17:28:51 +0000 (UTC)
commit 8426e9742fb2feded4f5d43a043e5b7fb321c927
Author: Julien Puydt <jpuydt newton localdomain>
Date: Wed Feb 1 13:53:14 2012 +0100
Made sure signals are raised in main in the gstreamer code
plugins/gstreamer/gst-audiooutput.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/gstreamer/gst-audiooutput.cpp b/plugins/gstreamer/gst-audiooutput.cpp
index ccbaf3a..f02bb79 100644
--- a/plugins/gstreamer/gst-audiooutput.cpp
+++ b/plugins/gstreamer/gst-audiooutput.cpp
@@ -228,7 +228,7 @@ GST::AudioOutputManager::open (Ekiga::AudioOutputPS ps,
current_state[ii].samplerate = samplerate;
current_state[ii].bits_per_sample = bits_per_sample;
current_state[ii].opened = true;
- device_opened (ps, current_state[ii].device, settings);
+ Ekiga::Runtime::run_in_main (boost::bind (boost::ref(device_opened), ps, current_state[ii].device, settings));
return true;
}
@@ -241,7 +241,7 @@ GST::AudioOutputManager::close (Ekiga::AudioOutputPS ps)
if (worker[ii])
gstreamer_worker_close (worker[ii]);
- device_closed (ps, current_state[ii].device);
+ Ekiga::Runtime::run_in_main (boost::bind (boost::ref(device_closed), ps, current_state[ii].device));
current_state[ii].opened = false;
worker[ii] = NULL;
}
@@ -303,7 +303,7 @@ GST::AudioOutputManager::detect_devices ()
detect_alsasink_devices ();
detect_pulsesink_devices ();
detect_sdlsink_devices ();
-devices_by_name[std::pair<std::string,std::string>("FILE","/tmp/sound.wav")] = "volume name=ekiga_volume ! filesink location=/tmp/sound.wav";
+ devices_by_name[std::pair<std::string,std::string>("FILE","/tmp/sound.wav")] = "volume name=ekiga_volume ! filesink location=/tmp/sound.wav";
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]